How to link qt6-base-dev to cmake?
Unsolved
Installation and Deployment
-
wrote on 25 Aug 2022, 14:30 last edited by
Hi,
I installed qt6-base-dev on my linuxc machine and try to add QT now to my CMakeList.
But cmake can't find QT6 even tho I've set the CMAKE_PREFIX_PATH to the location where qt6-base-dev is installed.
I found no documentation on how to use it. -
Hi,
You have the CMake Getting Started guide in Qt's documentation.
-
wrote on 26 Aug 2022, 14:15 last edited by
Yes yes and this all works fine but it does not find the QT package installed via apt install qt6-base-dev
I also tried to provide the path directly but same result. I always complains that it can't find Qt6.
-
What does your CMakeLists.txt file contain ?
1/4