From 01ecf6617c3438277bab90305976eb29128efe9f Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Thu, 11 Nov 2021 15:46:19 +0100 Subject: 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 Reviewed-by: Mitch Curtis (cherry picked from commit 84b3e889b8a9b281be6c19f747e4d230163d3909) Reviewed-by: Qt Cherry-pick Bot --- .../quickcontrols2/flatstyle/flatstyle.qmlproject | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 examples/quickcontrols2/flatstyle/flatstyle.qmlproject (limited to 'examples') 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" +} -- cgit v1.2.3