LimeReport Forum

General Category | Основное => Discussion | Обсуждение => Topic started by: Mucip on December 06, 2022, 09:29:06 PM

Title: Using LimeReport 1.5.87 on RaspberryPi 4 x64?
Post by: Mucip on December 06, 2022, 09:29:06 PM
Hi,
I want to use LimeReport in RaspberryPi 4 x64. When I compile below errors and warning appear:

:-1: warning: Project WARNING: CONFIG+=uitools is deprecated. Use QT+=uitools instead.
:-1: error: Project ERROR: Unknown module(s) in QT: designercomponents-private

How can I compile and use LimeReport with my programs on RaspberryPi 4 x64?



Regards,
Mucip:)
Title: Re: Using LimeReport 1.5.87 on RaspberryPi 4 x64?
Post by: Arin Alex on December 07, 2022, 03:58:11 AM
Hi
Try to add CONFIG *= no_formdesigner to the beginning of the file common.pri and rebuild.
Title: Re: Using LimeReport 1.5.87 on RaspberryPi 4 x64?
Post by: Mucip on December 07, 2022, 10:31:31 AM
Hi Arin,
Firstly I install with
$sudo apt-get install qttools5-private-dev

In this case ERROR disappeared

I added at the top of common.pri your suggestion "CONFIG *= no_formdesigner"

But warning still there?!

Regards,
Mucip:)
Title: Re: Using LimeReport 1.5.87 on RaspberryPi 4 x64?
Post by: Subst on December 07, 2022, 01:03:27 PM
just try to change

Code: [Select]
if(equals(QT_MAJOR_VERSION, 5) : greaterThan(QT_MINOR_VERSION, 1)) | equals(QT_MAJOR_VERSION, 6) {
    SUBDIRS += console \
        lrdview

}

to

Code: [Select]
if(equals(QT_MAJOR_VERSION, 5) : greaterThan(QT_MINOR_VERSION, 1)) | equals(QT_MAJOR_VERSION, 6) {
    SUBDIRS += console
}

in limereport.pro

or if you need to build lrdview

change the lrdview.pro

Code: [Select]
CONFIG += uitools
to

Code: [Select]
equals(QT_MAJOR_VERSION, 4) {
    CONFIG += uitools
}

equals(QT_MAJOR_VERSION, 5) | equals(QT_MAJOR_VERSION, 6) {
    QT += uitools
}
Title: Re: Using LimeReport 1.5.87 on RaspberryPi 4 x64?
Post by: Mucip on December 07, 2022, 01:59:28 PM
Hi,
I don't know what is and what for lrdview? But in anycase I applied your second suggestion.
Now, no warning and no error at all.  ;)
Thanks a lot.

Regards,
Mucip:)