diff options
Diffstat (limited to 'tests/auto/quickcontrols2/controls/windows/CMakeLists.txt')
-rw-r--r-- | tests/auto/quickcontrols2/controls/windows/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/quickcontrols2/controls/windows/CMakeLists.txt b/tests/auto/quickcontrols2/controls/windows/CMakeLists.txt index 33755c1bbd..c448c55d25 100644 --- a/tests/auto/quickcontrols2/controls/windows/CMakeLists.txt +++ b/tests/auto/quickcontrols2/controls/windows/CMakeLists.txt @@ -16,3 +16,14 @@ qt_internal_add_test(tst_windows Qt::QuickControls2 TESTDATA ${test_data} ) + +# Make the QML files available to Creator's locator. +target_sources(tst_windows + PRIVATE + ${test_data} +) + +set_source_files_properties(${test_data} + PROPERTIES + HEADER_FILE_ONLY ON +) |