Skip to content

Tests: Add support for testing Qt6

Craig Scott requested to merge craig.scott/cmake:qt6-tests into master

The minimum CMake version for Qt6 is 3.16, so all the calls to cmake_minimum_required() are updated here to enforce that minimum. This will avoid any CMake version-related warnings from Qt.

Avoid hard-coding Qt5 where the tests could now be using Qt5 or Qt6.

Fixes: #22188 (closed)

Edited by Craig Scott

Merge request reports