The following CMake variables are defined when Qt6::Test is loaded, for instance with
find_package(Qt6 REQUIRED COMPONENTS Test)
另请参阅 CMake 变量参考 .
QT_SKIP_DEFAULT_TESTCASE_DIRS
CMake 目标特性 升级自 Qt 5