qt-dab icon indicating copy to clipboard operation
qt-dab copied to clipboard

raspberry error on cmake

Open davidea72 opened this issue 1 year ago • 4 comments

hi guys, i'm trying to compile qt-dab6 on a raspberry with raspbian 12, but i'm stuck on a Cmake error

CMake Error at CMakeLists.txt:114 (message): please install qwt library

i htink it's libqwt-qt5-dev - Qt widgets library for technical applications (development, qt5), but it's at the newest version (6.1.4-2)

maybe the check is for an old version? unfortunately i'm not so smart to correct the cmake file, can someone help me?

davidea72 avatar Jan 10 '24 09:01 davidea72

Don't use cmake, use qmake instead. Edit qt-dab-6.pro to uncomment LIBS += -lqwt-qt5 You can also comment out any devices below that you don't need. mkdir build && cd build qmake .. make

mfraser avatar Feb 15 '24 10:02 mfraser

@davidea72

Maybe you try ccmake, which is like a "GUI" for cmake. It will show all options.

andimik avatar Feb 15 '24 10:02 andimik

There is a known difference of the location for qwt stuff between debain based systems (e.g. ubuntu) and Fedora based systems (that I use). I use Ubuntu for generating the Windows versions, and I try to make the "pro" file such that I can use the same file for both Fedora and Ubuntu.

I always advise to use qmake/make after doing some editing to the ".pro" file. Development by me is always dome with the ".pro" file at hand, and usually, after some time I (try to) update the CMakeLists.txt file. The ".pro" file contains (far) more possibilities for selecting an option

Op do 15 feb 2024 om 11:54 schreef andimik @.***>:

@davidea72 https://github.com/davidea72

Maybe you try ccmake, which is like a "GUI" for cmake. It will show all options.

— Reply to this email directly, view it on GitHub https://github.com/JvanKatwijk/qt-dab/issues/315#issuecomment-1945845777, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCPHQAFBI7J4DV37SPBIS3YTXSQFAVCNFSM6AAAAABBUPHTP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBVHA2DKNZXG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Jan van Katwijk

JvanKatwijk avatar Feb 15 '24 11:02 JvanKatwijk

I have same problem on Arch Linux and how to fix that?

zygmund2000 avatar Mar 25 '24 12:03 zygmund2000