Qwt Library add to Qt6/CMake Project Error
-
Hi, I want to add Qwt-lib to my Qt6/CMake project (linux/ubuntu) but when I add it to my CmakeList.txt file, qt cannot find the Qwt lib. I have compiled Qwt, but I can't access the lib. I don't know much about adding external libs to my Qt project, can you help me?
-
@Joe-von-Habsburg Did you install Qwt?
-
@jsulm said in Qwt Library add to Qt6/CMake Project Error:
Did you install Qwt?
yes I installed it from https://sourceforge.net/projects/qwt/files/qwt/6.3.0/ and I compiled it with command line (qmake qwt.pro && make && sudo make install)
@Joe-von-Habsburg said in Qwt Library add to Qt6/CMake Project Error:
I have compiled Qwt
-
@Joe-von-Habsburg You should do what the error message suggest you
-
@jsulm said in Qwt Library add to Qt6/CMake Project Error:
error message
cmake can't find qwt. can you help me how to add to the cmakelist.txt file?
-
@Joe-von-Habsburg Again: do what the error message you posted suggested you to do! Did you actually read it?
-
AFAIK, the qwt do not published wit the cmake support. It has only the qmake configuration.