summaryrefslogtreecommitdiffstats
path: root/examples/tutorials/alarms/controls_conf.qrc
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-02-03 18:35:10 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2022-02-04 11:20:39 +0100
commitc43d133e5233415260afbed78f7cda8b4dec680c (patch)
tree927314ae44a30780c27762e5526eceab1642b41d /examples/tutorials/alarms/controls_conf.qrc
parent2fccbb4f693cbd0eafaea17ff8daf904ee7358c5 (diff)
Fix alarms demo to run successfully
Previously it failed with QQmlApplicationEngine failed to load component qrc:/alarms/main.qml: No such file or directory main.cpp was adjusted to use alarms/main.cpp but the resource file locations were not changed. Change them to match the expected path in main.cpp. qtquickcontrols2.conf needs to stay in the root of the resource path, so it's added via a separate resource. Amends 302121874ea6e664ea2a59a07bff8fa06983c335 Pick-to: 5.15 6.2 6.3 Fixes: QTBUG-100434 Change-Id: I3436e07600ca7dad8bba45274ba49dc6c137a938 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'examples/tutorials/alarms/controls_conf.qrc')
-rw-r--r--examples/tutorials/alarms/controls_conf.qrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/tutorials/alarms/controls_conf.qrc b/examples/tutorials/alarms/controls_conf.qrc
new file mode 100644
index 000000000..4fbf17b7b
--- /dev/null
+++ b/examples/tutorials/alarms/controls_conf.qrc
@@ -0,0 +1,5 @@
+<RCC>
+ <qresource prefix="/">
+ <file>qtquickcontrols2.conf</file>
+ </qresource>
+</RCC>