diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2021-11-11 15:46:19 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-11-30 16:25:36 +0000 |
commit | 01ecf6617c3438277bab90305976eb29128efe9f (patch) | |
tree | 00b81610b115a5a41145e98e4b57f7a8c31fe29f /examples | |
parent | 6a23580fabdad967b049d7ce967a9211ff7f5671 (diff) |
Add .qmlproject file for examples containing .ui.qml files
If an example contains ui.qml it should also have
a .qmlproject file for Qt Design Studio.
Change-Id: I290838f5bf7c6d295ea7fecb6b1c689ad5b924e1
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 84b3e889b8a9b281be6c19f747e4d230163d3909)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quickcontrols2/flatstyle/flatstyle.qmlproject | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/examples/quickcontrols2/flatstyle/flatstyle.qmlproject b/examples/quickcontrols2/flatstyle/flatstyle.qmlproject new file mode 100644 index 0000000000..80b42820ad --- /dev/null +++ b/examples/quickcontrols2/flatstyle/flatstyle.qmlproject @@ -0,0 +1,45 @@ +import QmlProject + +Project { + mainFile: "flatstyle.qml" + + /* Include .qml, .js, and image files from current directory and subdirectories */ + QmlFiles { + directory: "." + } + + JavaScriptFiles { + directory: "." + } + + ImageFiles { + directory: "." + } + + Files { + filter: "*.conf" + files: ["qtquickcontrols2.conf"] + } + + Files { + filter: "qmldir" + directory: "." + } + + Files { + filter: "*.ttf;*.otf" + } + + Environment { + QT_QUICK_CONTROLS_CONF: "qtquickcontrols2.conf" + QT_AUTO_SCREEN_SCALE_FACTOR: "1" + } + + qt6Project: true + + /* List of plugin directories passed to QML runtime */ + importPaths: [ ".", "imports" ] + + /* Required for deployment */ + targetDirectory: "/opt/flatstyle" +} |