aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/demos/calqlatr
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/demos/calqlatr')
-rw-r--r--examples/quick/demos/calqlatr/calqlatr.pro7
-rw-r--r--examples/quick/demos/calqlatr/calqlatr.qrc22
-rw-r--r--examples/quick/demos/calqlatr/main.cpp2
3 files changed, 27 insertions, 4 deletions
diff --git a/examples/quick/demos/calqlatr/calqlatr.pro b/examples/quick/demos/calqlatr/calqlatr.pro
index fec0d6416b..1b002a5f27 100644
--- a/examples/quick/demos/calqlatr/calqlatr.pro
+++ b/examples/quick/demos/calqlatr/calqlatr.pro
@@ -3,7 +3,8 @@ TEMPLATE = app
QT += qml quick
SOURCES += main.cpp
+RESOURCES += calqlatr.qrc \
+ ../../shared/shared.qrc
+
target.path = $$[QT_INSTALL_EXAMPLES]/quick/demos/calqlatr
-qml.files = calqlatr.qml content
-qml.path = $$[QT_INSTALL_EXAMPLES]/quick/demos/calqlatr
-INSTALLS += target qml
+INSTALLS += target
diff --git a/examples/quick/demos/calqlatr/calqlatr.qrc b/examples/quick/demos/calqlatr/calqlatr.qrc
new file mode 100644
index 0000000000..fda7d35d7e
--- /dev/null
+++ b/examples/quick/demos/calqlatr/calqlatr.qrc
@@ -0,0 +1,22 @@
+<RCC>
+ <qresource prefix="/demos/calqlatr">
+ <file>calqlatr.qml</file>
+ <file>content/Button.qml</file>
+ <file>content/calculator.js</file>
+ <file>content/Display.qml</file>
+ <file>content/NumberPad.qml</file>
+ <file>content/StyleLabel.qml</file>
+ <file>content/audio/touch.wav</file>
+ <file>content/images/icon-back.png</file>
+ <file>content/images/icon-close.png</file>
+ <file>content/images/icon-settings.png</file>
+ <file>content/images/logo.png</file>
+ <file>content/images/paper-edge-left.png</file>
+ <file>content/images/paper-edge-right.png</file>
+ <file>content/images/paper-grip.png</file>
+ <file>content/images/settings-selected-a.png</file>
+ <file>content/images/settings-selected-b.png</file>
+ <file>content/images/touch-green.png</file>
+ <file>content/images/touch-white.png</file>
+ </qresource>
+</RCC>
diff --git a/examples/quick/demos/calqlatr/main.cpp b/examples/quick/demos/calqlatr/main.cpp
index 9000bfc7d7..65bfc97f9a 100644
--- a/examples/quick/demos/calqlatr/main.cpp
+++ b/examples/quick/demos/calqlatr/main.cpp
@@ -38,4 +38,4 @@
**
****************************************************************************/
#include "../../shared/shared.h"
-DECLARATIVE_EXAMPLE_MAIN(calqlatr)
+DECLARATIVE_EXAMPLE_MAIN(demos/calqlatr/calqlatr)