diff options
author | Cristian Adam <cristian.adam@qt.io> | 2020-10-14 15:56:20 +0200 |
---|---|---|
committer | Cristian Adam <cristian.adam@qt.io> | 2020-10-15 13:14:25 +0200 |
commit | 6180dbf0679a6631aeb006637b00989f0956e103 (patch) | |
tree | a7331a50994f7dd6eee88426eb6224e19e64cacb /tests | |
parent | 266cd7638d887b31d56964a0f13fe208821703b1 (diff) |
CMake: Add generated qrc files to the qmlimportscanner
The list of generated qrc files is passed to qmlimportscanner via the
-qrcFiles parameter.
qt_import_qml_plugins(pointer) needs to be explicitly called in CMake
unlike qmake which does the equivalent behind the scenes.
Task-number: QTBUG-85994
Change-Id: Ia49a5e1fe5df11c0b3b8ff4c1765377767ca2478
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/manual/pointer/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/manual/pointer/CMakeLists.txt b/tests/manual/pointer/CMakeLists.txt index 6bdb0f9e78..04e99ce4e6 100644 --- a/tests/manual/pointer/CMakeLists.txt +++ b/tests/manual/pointer/CMakeLists.txt @@ -131,6 +131,7 @@ qt_internal_add_resource(pointer "quick_shared" ${quick_shared_resource_files} ) +qt_import_qml_plugins(pointer) # special case #### Keys ignored in scope 1:.:.:pointer.pro:<TRUE>: # TEMPLATE = "app" |