aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/righttoleft
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/righttoleft')
-rw-r--r--examples/quick/righttoleft/main.cpp2
-rw-r--r--examples/quick/righttoleft/righttoleft.pro7
-rw-r--r--examples/quick/righttoleft/righttoleft.qrc8
3 files changed, 13 insertions, 4 deletions
diff --git a/examples/quick/righttoleft/main.cpp b/examples/quick/righttoleft/main.cpp
index e1d102cfe3..c008e2c85a 100644
--- a/examples/quick/righttoleft/main.cpp
+++ b/examples/quick/righttoleft/main.cpp
@@ -38,4 +38,4 @@
**
****************************************************************************/
#include "../shared/shared.h"
-DECLARATIVE_EXAMPLE_MAIN(righttoleft)
+DECLARATIVE_EXAMPLE_MAIN(righttoleft/righttoleft)
diff --git a/examples/quick/righttoleft/righttoleft.pro b/examples/quick/righttoleft/righttoleft.pro
index e71030e196..248564e07f 100644
--- a/examples/quick/righttoleft/righttoleft.pro
+++ b/examples/quick/righttoleft/righttoleft.pro
@@ -2,8 +2,9 @@ TEMPLATE = app
QT += quick qml
SOURCES += main.cpp
+RESOURCES += \
+ righttoleft.qrc \
+ ../shared/shared.qrc
target.path = $$[QT_INSTALL_EXAMPLES]/quick/righttoleft
-qml.files = righttoleft.qml layoutdirection layoutmirroring textalignment
-qml.path = $$[QT_INSTALL_EXAMPLES]/quick/righttoleft
-INSTALLS += target qml
+INSTALLS += target
diff --git a/examples/quick/righttoleft/righttoleft.qrc b/examples/quick/righttoleft/righttoleft.qrc
new file mode 100644
index 0000000000..1d9f068a1e
--- /dev/null
+++ b/examples/quick/righttoleft/righttoleft.qrc
@@ -0,0 +1,8 @@
+<RCC>
+ <qresource prefix="/righttoleft">
+ <file>righttoleft.qml</file>
+ <file>layoutdirection/layoutdirection.qml</file>
+ <file>layoutmirroring/layoutmirroring.qml</file>
+ <file>textalignment/textalignment.qml</file>
+ </qresource>
+</RCC>