From a0fb0a5dd32b031f89abe603ed07a50c74327e37 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Tue, 11 Dec 2012 14:17:34 +0100 Subject: Use resource files for most examples Make examples shadow-build-friendly by using resource files instead of trying to derive the qml path from applicationDirPath(). Change-Id: I669424554c772d9b261249b366247190f5fbd8b1 Reviewed-by: Oliver Wolff --- examples/quick/righttoleft/righttoleft.pro | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'examples/quick/righttoleft/righttoleft.pro') 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 -- cgit v1.2.3