summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/location/mapviewer/mapviewer.pro8
-rw-r--r--examples/location/places/places.pro7
-rw-r--r--examples/location/places_list/places_list.pro4
-rw-r--r--examples/location/places_map/places_map.pro4
4 files changed, 13 insertions, 10 deletions
diff --git a/examples/location/mapviewer/mapviewer.pro b/examples/location/mapviewer/mapviewer.pro
index 36fead08..8c667498 100644
--- a/examples/location/mapviewer/mapviewer.pro
+++ b/examples/location/mapviewer/mapviewer.pro
@@ -32,10 +32,12 @@ OTHER_FILES += $$qmlcontentdialogs.files
include(../common/common.pri)
-target.path = $$[QT_INSTALL_EXAMPLES]/qtlocation/mapviewer
-
-INSTALLS += target
+target.path = $$[QT_INSTALL_EXAMPLES]/location/mapviewer
+additional.files = ../common
+additional.path = $$[QT_INSTALL_EXAMPLES]/location/common
+INSTALLS += target additional
+# ensure copying of media file while shadow building
!equals($${_PRO_FILE_PWD_}, $${OUT_PWD}) {
MEDIAFILE = $${_PRO_FILE_PWD_}/demo.ogv
copy2build.input = MEDIAFILE
diff --git a/examples/location/places/places.pro b/examples/location/places/places.pro
index 459a241e..fa79387d 100644
--- a/examples/location/places/places.pro
+++ b/examples/location/places/places.pro
@@ -37,7 +37,8 @@ OTHER_FILES += $$qmlcontentplaces.files
include(../common/common.pri)
-target.path = $$[QT_INSTALL_EXAMPLES]/qtlocation/places
-
-INSTALLS += target
+target.path = $$[QT_INSTALL_EXAMPLES]/location/places
+additional.files = ../common
+additional.path = $$[QT_INSTALL_EXAMPLES]/location/common
+INSTALLS += target additional
diff --git a/examples/location/places_list/places_list.pro b/examples/location/places_list/places_list.pro
index 2d4b29ab..68a6d494 100644
--- a/examples/location/places_list/places_list.pro
+++ b/examples/location/places_list/places_list.pro
@@ -6,7 +6,7 @@ SOURCES = main.cpp
qmlcontent.files += $$files(*.qml)
-target.path = $$[QT_INSTALL_EXAMPLES]/qtlocation/places_list
-qmlcontent.path = $$[QT_INSTALL_EXAMPLES]/qtlocation/places_list
+target.path = $$[QT_INSTALL_EXAMPLES]/location/places_list
+qmlcontent.path = $$[QT_INSTALL_EXAMPLES]/location/places_list
INSTALLS += target qmlcontent
diff --git a/examples/location/places_map/places_map.pro b/examples/location/places_map/places_map.pro
index 5f7d3eaf..7f4bf81b 100644
--- a/examples/location/places_map/places_map.pro
+++ b/examples/location/places_map/places_map.pro
@@ -7,7 +7,7 @@ SOURCES = main.cpp
qmlcontent.files += $$files(*.qml) \
marker.png
-target.path = $$[QT_INSTALL_EXAMPLES]/qtlocation/places_map
-qmlcontent.path = $$[QT_INSTALL_EXAMPLES]/qtlocation/places_map
+target.path = $$[QT_INSTALL_EXAMPLES]/location/places_map
+qmlcontent.path = $$[QT_INSTALL_EXAMPLES]/location/places_map
INSTALLS += target qmlcontent