aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/xmlhttprequest/xmlhttprequest.pro
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2012-12-11 14:17:34 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-12 10:32:50 +0100
commita0fb0a5dd32b031f89abe603ed07a50c74327e37 (patch)
tree04dd8b801c1e5daca81701542a8f6815c8b35274 /examples/qml/xmlhttprequest/xmlhttprequest.pro
parentb570d384c0704ea12364e353493eeb6f1ae34cd3 (diff)
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 <oliver.wolff@digia.com>
Diffstat (limited to 'examples/qml/xmlhttprequest/xmlhttprequest.pro')
-rw-r--r--examples/qml/xmlhttprequest/xmlhttprequest.pro7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/qml/xmlhttprequest/xmlhttprequest.pro b/examples/qml/xmlhttprequest/xmlhttprequest.pro
index 5af32eeab6..3e20d3781c 100644
--- a/examples/qml/xmlhttprequest/xmlhttprequest.pro
+++ b/examples/qml/xmlhttprequest/xmlhttprequest.pro
@@ -2,11 +2,12 @@ TEMPLATE = app
QT += quick qml
SOURCES += main.cpp
+RESOURCES += \
+ xmlhttprequest.qrc \
+ ../../quick/shared/quick_shared.qrc
EXAMPLE_FILES = \
data.xml
target.path = $$[QT_INSTALL_EXAMPLES]/qml/xmlhttprequest
-qml.files = xmlhttprequest.qml get.qml
-qml.path = $$[QT_INSTALL_EXAMPLES]/qml/xmlhttprequest
-INSTALLS += target qml
+INSTALLS += target