~/Source/Qt/6.6.2/gcc_64/bin/qmake
Project ERROR: Qt 6 is not supported via qmake - please use CMake instead
OK, I will use cmake:
mkdir build; cd build
cmake -DBUILD_GUI=ON -DHAVE_RULES=ON ..
...
CMake Warning at cmake/findDependencies.cmake:27 (message):
Building with Qt5 is deprecated (it went EOL in May 2023) and will be
removed in a future release - please use Qt6 instead
(fail)
I'm not experienced with cmake; - I need to tell cmake where to find my Qt6 installation because it doesn't seem happen with my standard Qt 5 installation?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I didn't see the cmake output listing all the options as the configuration halted before that part.
My cmake experience was not good enough to know that I should have run a basic config in order to see the other rules; the docs listed BUILD_GUI so I thought that was enough.
My build was successful after adding -DCMAKE_PREFIX_PATH="/home/user/Source/Qt/6.6.2/gcc_64/lib/cmake/Qt6"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If I try to use qmake, local install:
OK, I will use cmake:
I'm not experienced with cmake; - I need to tell cmake where to find my Qt6 installation because it doesn't seem happen with my standard Qt 5 installation?
-DUSE_QT6=ON
look inside the CI for windows at .github/ rep
Although we lack documentation for all the individual CMake options they are all listed in the CMake output:
Thank you lamoda and Oliver Stöneberg.
I didn't see the cmake output listing all the options as the configuration halted before that part.
My cmake experience was not good enough to know that I should have run a basic config in order to see the other rules; the docs listed BUILD_GUI so I thought that was enough.
My build was successful after adding -DCMAKE_PREFIX_PATH="/home/user/Source/Qt/6.6.2/gcc_64/lib/cmake/Qt6"