Make QML test files available to Creator's locator
Pick-to: 6.2 6.3 Change-Id: I87acd2ff973b3acce6d575bf6b2e04b8e50f0597 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
48b24f762f
commit
8751b64383
|
@ -24,6 +24,17 @@ qt_internal_add_test(tst_basic
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Make the QML files available to Creator's locator.
|
||||||
|
target_sources(tst_basic
|
||||||
|
PRIVATE
|
||||||
|
${test_data}
|
||||||
|
)
|
||||||
|
|
||||||
|
set_source_files_properties(${test_data}
|
||||||
|
PROPERTIES
|
||||||
|
HEADER_FILE_ONLY ON
|
||||||
|
)
|
||||||
|
|
||||||
#### Keys ignored in scope 1:.:.:basic.pro:<TRUE>:
|
#### Keys ignored in scope 1:.:.:basic.pro:<TRUE>:
|
||||||
# OTHER_FILES = "$$PWD/../data/*.qml"
|
# OTHER_FILES = "$$PWD/../data/*.qml"
|
||||||
# TEMPLATE = "app"
|
# TEMPLATE = "app"
|
||||||
|
|
|
@ -24,6 +24,17 @@ qt_internal_add_test(tst_fusion
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Make the QML files available to Creator's locator.
|
||||||
|
target_sources(tst_fusion
|
||||||
|
PRIVATE
|
||||||
|
${test_data}
|
||||||
|
)
|
||||||
|
|
||||||
|
set_source_files_properties(${test_data}
|
||||||
|
PROPERTIES
|
||||||
|
HEADER_FILE_ONLY ON
|
||||||
|
)
|
||||||
|
|
||||||
#### Keys ignored in scope 1:.:.:fusion.pro:<TRUE>:
|
#### Keys ignored in scope 1:.:.:fusion.pro:<TRUE>:
|
||||||
# OTHER_FILES = "$$PWD/../data/*.qml"
|
# OTHER_FILES = "$$PWD/../data/*.qml"
|
||||||
# TEMPLATE = "app"
|
# TEMPLATE = "app"
|
||||||
|
|
|
@ -24,6 +24,17 @@ qt_internal_add_test(tst_imagine
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Make the QML files available to Creator's locator.
|
||||||
|
target_sources(tst_imagine
|
||||||
|
PRIVATE
|
||||||
|
${test_data}
|
||||||
|
)
|
||||||
|
|
||||||
|
set_source_files_properties(${test_data}
|
||||||
|
PROPERTIES
|
||||||
|
HEADER_FILE_ONLY ON
|
||||||
|
)
|
||||||
|
|
||||||
#### Keys ignored in scope 1:.:.:imagine.pro:<TRUE>:
|
#### Keys ignored in scope 1:.:.:imagine.pro:<TRUE>:
|
||||||
# OTHER_FILES = "$$PWD/../data/*.qml"
|
# OTHER_FILES = "$$PWD/../data/*.qml"
|
||||||
# TEMPLATE = "app"
|
# TEMPLATE = "app"
|
||||||
|
|
|
@ -17,3 +17,13 @@ qt_internal_add_test(tst_macos
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Make the QML files available to Creator's locator.
|
||||||
|
target_sources(tst_macos
|
||||||
|
PRIVATE
|
||||||
|
${test_data}
|
||||||
|
)
|
||||||
|
|
||||||
|
set_source_files_properties(${test_data}
|
||||||
|
PROPERTIES
|
||||||
|
HEADER_FILE_ONLY ON
|
||||||
|
)
|
||||||
|
|
|
@ -24,6 +24,17 @@ qt_internal_add_test(tst_material
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Make the QML files available to Creator's locator.
|
||||||
|
target_sources(tst_material
|
||||||
|
PRIVATE
|
||||||
|
${test_data}
|
||||||
|
)
|
||||||
|
|
||||||
|
set_source_files_properties(${test_data}
|
||||||
|
PROPERTIES
|
||||||
|
HEADER_FILE_ONLY ON
|
||||||
|
)
|
||||||
|
|
||||||
#### Keys ignored in scope 1:.:.:material.pro:<TRUE>:
|
#### Keys ignored in scope 1:.:.:material.pro:<TRUE>:
|
||||||
# OTHER_FILES = "$$PWD/../data/*.qml"
|
# OTHER_FILES = "$$PWD/../data/*.qml"
|
||||||
# TEMPLATE = "app"
|
# TEMPLATE = "app"
|
||||||
|
|
|
@ -24,6 +24,17 @@ qt_internal_add_test(tst_universal
|
||||||
TESTDATA ${test_data}
|
TESTDATA ${test_data}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Make the QML files available to Creator's locator.
|
||||||
|
target_sources(tst_universal
|
||||||
|
PRIVATE
|
||||||
|
${test_data}
|
||||||
|
)
|
||||||
|
|
||||||
|
set_source_files_properties(${test_data}
|
||||||
|
PROPERTIES
|
||||||
|
HEADER_FILE_ONLY ON
|
||||||
|
)
|
||||||
|
|
||||||
#### Keys ignored in scope 1:.:.:universal.pro:<TRUE>:
|
#### Keys ignored in scope 1:.:.:universal.pro:<TRUE>:
|
||||||
# OTHER_FILES = "$$PWD/../data/*.qml"
|
# OTHER_FILES = "$$PWD/../data/*.qml"
|
||||||
# TEMPLATE = "app"
|
# TEMPLATE = "app"
|
||||||
|
|
|
@ -16,3 +16,14 @@ qt_internal_add_test(tst_windows
|
||||||
Qt::QuickControls2
|
Qt::QuickControls2
|
||||||
TESTDATA ${test_data}
|
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
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue