
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
9 lines
230 B
CMake
9 lines
230 B
CMake
# Set Qt test version and include the Autogen test macros
|
|
set(QT_TEST_VERSION 6)
|
|
include("../QtAutogen/TestMacros.cmake")
|
|
|
|
# Common tests
|
|
include("../QtAutogen/Tests.cmake")
|
|
|
|
set(TEST_BUILD_DIRS "${TEST_BUILD_DIRS}" PARENT_SCOPE)
|