diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2013-11-18 10:24:19 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-18 11:53:15 +0100 |
commit | 02e88e8349b4c516c855f2f373838a29e9d3e1bb (patch) | |
tree | d439538d57af42be14e22377d347eebdc3973dae /examples/location/mapviewer/mapviewer.pro | |
parent | 898f292736ced9ae83e7fad2da3006196dfaa8c7 (diff) | |
download | qtlocation-02e88e8349b4c516c855f2f373838a29e9d3e1bb.tar.gz |
Reorder example dir structure according to Qt convention
Causes undesirable example structure in Qt release package
Task-number: QTBUG-34907
Change-Id: I47e2205aa6faef388792146b36cf6ae6cae863da
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'examples/location/mapviewer/mapviewer.pro')
-rw-r--r-- | examples/location/mapviewer/mapviewer.pro | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/examples/location/mapviewer/mapviewer.pro b/examples/location/mapviewer/mapviewer.pro new file mode 100644 index 00000000..7ae7b4dc --- /dev/null +++ b/examples/location/mapviewer/mapviewer.pro @@ -0,0 +1,49 @@ +TARGET = qml_location_mapviewer +TEMPLATE = app + +QT += qml network quick +SOURCES += qmlmapviewerwrapper.cpp + +RESOURCES += \ + mapviewerwrapper.qrc + +qmlcontent.files += \ + mapviewer.qml \ + demo.ogv +OTHER_FILES += $$qmlcontent.files + +qmlcontentmap.files += \ + content/map/MapComponent.qml \ + content/map/Marker.qml \ + content/map/CircleItem.qml \ + content/map/RectangleItem.qml \ + content/map/PolylineItem.qml \ + content/map/PolygonItem.qml \ + content/map/ImageItem.qml \ + content/map/VideoItem.qml \ + content/map/3dItem.qml \ + content/map/MiniMap.qml +OTHER_FILES += $$qmlcontentmap.files + +qmlcontentdialogs.files += \ + content/dialogs/Message.qml \ + content/dialogs/RouteDialog.qml +OTHER_FILES += $$qmlcontentdialogs.files + +include(../common/common.pri) + +target.path = $$[QT_INSTALL_EXAMPLES]/qtlocation/declarative/mapviewer + +INSTALLS += target + +!equals($${_PRO_FILE_PWD_}, $${OUT_PWD}) { + MEDIAFILE = $${_PRO_FILE_PWD_}/demo.ogv + copy2build.input = MEDIAFILE + copy2build.output = $${OUT_PWD}/demo.ogv + !contains(TEMPLATE_PREFIX, vc):copy2build.variable_out = PRE_TARGETDEPS + copy2build.commands = $$QMAKE_COPY ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT} + copy2build.name = COPY ${QMAKE_FILE_IN} + copy2build.CONFIG += no_link + copy2build.CONFIG += no_clean + QMAKE_EXTRA_COMPILERS += copy2build +} |