Qt6 测试中的 CMake 目标特性

Qt Test 模块知道下列 CMake 目标有关特性:

另请参阅 CMake 特性参考 .

QT_SKIP_DEFAULT_TESTCASE_DIRS

Disables the test case directory definitions for targets that link to the Test library.