summaryrefslogtreecommitdiffstats
path: root/examples/location/places_list/places_list.pro
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-02-23 11:39:58 +0100
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-02-24 07:59:02 +0000
commit1cb3ec6e862e99b60aaad488ccb1696c10218365 (patch)
tree2e5518158f3feba3afbbd631980f96833b3e530a /examples/location/places_list/places_list.pro
parentec003eb637ced35e7ac3d6e0c256f1244ce0b443 (diff)
Use resource file for places_list example
This avoids issues with relative qml path locations when calling the binary. Change-Id: I6f1c808e8f8abd88a0a3bf39f35a2f0d65b9ed93 Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'examples/location/places_list/places_list.pro')
-rw-r--r--examples/location/places_list/places_list.pro6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/location/places_list/places_list.pro b/examples/location/places_list/places_list.pro
index 68a6d494..f2fddb5a 100644
--- a/examples/location/places_list/places_list.pro
+++ b/examples/location/places_list/places_list.pro
@@ -4,9 +4,9 @@ TEMPLATE = app
QT += quick qml network
SOURCES = main.cpp
-qmlcontent.files += $$files(*.qml)
+RESOURCES += \
+ resources.qrc
target.path = $$[QT_INSTALL_EXAMPLES]/location/places_list
-qmlcontent.path = $$[QT_INSTALL_EXAMPLES]/location/places_list
+INSTALLS += target
-INSTALLS += target qmlcontent