diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-07-09 18:59:52 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-11 23:46:59 +0200 |
commit | 1e0665557adc170d4b76bf988e4c3bed3b21d6c6 (patch) | |
tree | 0b419000cafddae30a33b933ad2e048cbd845884 /tests/plugins | |
parent | f72ea94f897baffc306bf972ec35f9d59ad59855 (diff) | |
download | qtlocation-1e0665557adc170d4b76bf988e4c3bed3b21d6c6.tar.gz |
use centralized qml plugin project handling
Change-Id: Ibe9b056e783f78d2cb2622a174619e4cf36372af
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/plugins')
-rw-r--r-- | tests/plugins/declarativetestplugin/declarativetestplugin.pro | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/tests/plugins/declarativetestplugin/declarativetestplugin.pro b/tests/plugins/declarativetestplugin/declarativetestplugin.pro index 7d3c20f0..4803e672 100644 --- a/tests/plugins/declarativetestplugin/declarativetestplugin.pro +++ b/tests/plugins/declarativetestplugin/declarativetestplugin.pro @@ -1,13 +1,9 @@ +CXX_MODULE = location TARGET = declarative_location_test TARGETPATH = QtLocation/test -include(../../../src/imports/location/qlocationimport.pri) - QT += qml quick location testlib -DESTDIR = $$QT.location.imports/$$TARGETPATH -target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH - INCLUDEPATH += ../../../src/imports/location INCLUDEPATH += ../../../src/location @@ -21,12 +17,4 @@ SOURCES += locationtest.cpp \ qdeclarativelocationtestmodel.cpp \ ../../../src/imports/location/qdeclarativecoordinate.cpp -# Tell qmake to create such makefile that qmldir and target (i.e. declarative_location) -# are both copied to qt/imports/QtLocation -directory, -# as the "/imports" is the default place where qmlviewer looks for plugins -# (otherwise qmlviewer -I <path> -option is needed) - -qmldir.files += $$PWD/qmldir -qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH - -INSTALLS += target qmldir +load(qml_plugin) |