ci: add testing with Qt 6
Since !6117 (merged) our CI base images for Fedora have Qt 6 packages. We should update the Fedora CI jobs to cover Qt 6:
- Build cmake-gui with
CMake_QT_MAJOR_VERSION=6
. - Add
Qt6Autogen
tests and enable them with aCMake_TEST_Qt6
option. - Keep
Qt5Autogen
tests enabled withCMake_TEST_Qt5
.
Currently turning on BUILD_QtDialog=ON/CMake_QT_MAJOR_VERSION=6
and CMake_TEST_Qt5=ON
together produces CMake configure errors.