summaryrefslogtreecommitdiffstats
path: root/plugins/declarative/sensors/sensors.pro
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-06-25 14:28:31 +0200
committerThiago Macieira <thiago.macieira@nokia.com>2010-06-25 15:03:07 +0200
commit1b3217145b8d9dc26e7d15841b0ec93285add644 (patch)
treead70ad684888ecad1e6296faa77f4e7c24590b0c /plugins/declarative/sensors/sensors.pro
parentb797b80f272387b31739de15587b3ff28dfd5e05 (diff)
Fix Mobility QtDeclarative plugins builds
"target" is already in INSTALLS, so don't add it again. Doing so causes tons of make warnings about overriding install and uninstall targets. Don't set DESTDIR to Qt's dir when compiling. Let the libraries stay where they are here, but install to Qt only. Note: installation should go to $PREFIX/imports, not to $$[QT_INSTALL_IMPORTS]. Installing outside $PREFIX is a bad idea. Reviewed-By: Ossi
Diffstat (limited to 'plugins/declarative/sensors/sensors.pro')
-rw-r--r--plugins/declarative/sensors/sensors.pro3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/declarative/sensors/sensors.pro b/plugins/declarative/sensors/sensors.pro
index ff38be0251..71113fa181 100644
--- a/plugins/declarative/sensors/sensors.pro
+++ b/plugins/declarative/sensors/sensors.pro
@@ -15,11 +15,10 @@ SOURCES += sensors.cpp
CONFIG += mobility
MOBILITY += sensors
-DESTDIR = $$[QT_INSTALL_PREFIX]/imports/$$TARGETPATH
target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
qmldir.files += $$PWD/qmldir
qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
-INSTALLS += target qmldir
+INSTALLS += qmldir