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.