summaryrefslogtreecommitdiff
path: root/src/imports
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2012-10-24 15:38:54 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-02 18:13:31 +0100
commit980ce3eb2a9da3a4b20993e221889597d18d0a0d (patch)
tree0f4bf83fe1c39508a23f8e0263a79734caa29caa /src/imports
parenteee645574f6d3e265372a1af249bd62a2506c32a (diff)
downloadqtsensors-980ce3eb2a9da3a4b20993e221889597d18d0a0d.tar.gz
adjust to qt_plugin.prf and qml_plugin.prf changes
DESTDIR and INSTALLS+=target are set up automatically now, but PLUGIN_TYPE needs to be defined. this contains a nasty hack for examples, as we don't want users to use the internal prf files. Change-Id: I9e854e7ff6183e19801998ff7157a279b97b2be4 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/sensors/sensors.pro11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/imports/sensors/sensors.pro b/src/imports/sensors/sensors.pro
index d479922..210ceac 100644
--- a/src/imports/sensors/sensors.pro
+++ b/src/imports/sensors/sensors.pro
@@ -3,8 +3,6 @@ TARGET = declarative_sensors
TARGETPATH = QtSensors
IMPORT_VERSION = 5.0 # Doesn't matter, as long as it's a valid version?!
-include(qsensorsimport.pri)
-
QT += qml sensors sensors-private
HEADERS += \
@@ -43,15 +41,6 @@ SOURCES += sensors.cpp \
qmltiltsensor.cpp \
qmlsensorgesture.cpp
-
-DESTDIR = $$QT.sensors.imports/$$TARGETPATH
-target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
-
-qmldir.files += $$PWD/qmldir $$PWD/plugin.qmltypes
-qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
-
-INSTALLS += target qmldir
-
load(qml_plugin)
OTHER_FILES += \