diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2020-10-30 11:32:21 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2020-10-30 12:04:22 +0100 |
commit | 8622862b00cb28ef60d673a82ce404d54333cb76 (patch) | |
tree | 87023baeeb0749acd87786709b5f4f8b5e423b45 /examples/quickcontrols2/flatstyle/CMakeLists.txt | |
parent | 8f3407fdad75cbdada7d0f46d9b1e323b9d70090 (diff) |
Fix flatstyle example
Styles must now be proper QML modules; i.e. have a qmldir and be
available in the import path.
Fixes: QTBUG-87848
Change-Id: I07de491be31a24f2b07f68f389600450dc89561c
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'examples/quickcontrols2/flatstyle/CMakeLists.txt')
-rw-r--r-- | examples/quickcontrols2/flatstyle/CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/quickcontrols2/flatstyle/CMakeLists.txt b/examples/quickcontrols2/flatstyle/CMakeLists.txt index 8719fbf4..58c1e0ca 100644 --- a/examples/quickcontrols2/flatstyle/CMakeLists.txt +++ b/examples/quickcontrols2/flatstyle/CMakeLists.txt @@ -39,11 +39,12 @@ target_link_libraries(flatstyle PUBLIC # Resources: set(qmake_immediate_resource_files - "Flat/Button.qml" - "Flat/CheckBox.qml" - "Flat/Switch.qml" "MainForm.ui.qml" "flatstyle.qml" + "imports/Flat/Button.qml" + "imports/Flat/CheckBox.qml" + "imports/Flat/Switch.qml" + "imports/Flat/qmldir" "imports/Theme/Theme.qml" "imports/Theme/qmldir" "qtquickcontrols2.conf" |