I am trying to use Qwt 6-3.0 with Qt 6.7.0 on Kubuntu 24.04, using KDevelop 5.12.23 and cmake version 3.28.3.
I compiled qwt-6.3.0 from sources with qmake: /usr/lib/qt5/bin/qmake. I think qt5 is correct here as KDE Plasma 5.27.11 on Kubuntu 24.04 has been built with qt 5.15.13, but I am not sure about this. Is it correct?
The qwt libs are in /usr/local/qwt-6.3.0/lib/ and the headers are in /usr/local/qwt-6.3.0/include/
In CMakeLists.txt
include_directories(/usr/local/qwt-6.3.0/include)
seems to work fine, but I have not been able to use find_package() to find libqwt. What is the correct way to find the qwt lib in CMakeLists.txt?