Using developer-build of Qt6
-
I'm trying to help test patches for this issue. I have downloaded and successfully build Qt6 from source after configuring with this command:
../qt5/configure -developer-build -opensource -nomake examples -nomake tests -confirm-license
However, now I can't figure out how to get my CMake-based test program to find that Qt6 version. Specifically, when I configure my project with
-DCMAKE_PREFIX_PATH=~/tools/qt5-build/qtbase/lib/cmake/Qt6
it reports that it can't find either Qt6::DBus or Qt6::QML, both of which are required in my project. Also, I have no other version of Qt6 installed on my machine (a Linux box running the latest Fedora distro), but I do have Qt5 installed.How do I fix this?
-
@beroset said in Using developer-build of Qt6:
-DCMAKE_PREFIX_PATH=~/tools/qt5-build/qtbase/lib/cmake/Qt6
Qt6DBus
,Qt6Qml
are directories in parallel toQt6
directory. That is, pass e.g.-DCMAKE_PREFIX_PATH=~/tools/qt5-build/qtbase/lib/cmake
, or just-DCMAKE_PREFIX_PATH=~/tools/qt5-build/qtbase