From 980ce3eb2a9da3a4b20993e221889597d18d0a0d Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 24 Oct 2012 15:38:54 +0200 Subject: 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 --- src/plugins/sensors/linux/linux.pro | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/plugins/sensors/linux') diff --git a/src/plugins/sensors/linux/linux.pro b/src/plugins/sensors/linux/linux.pro index 48fc348..7546728 100644 --- a/src/plugins/sensors/linux/linux.pro +++ b/src/plugins/sensors/linux/linux.pro @@ -1,16 +1,12 @@ TARGET = qtsensors_linuxsys QT = core sensors +PLUGIN_TYPE = sensors load(qt_plugin) -DESTDIR = $$QT.sensors.plugins/sensors - OTHER_FILES = plugin.json LIBS += -lrt HEADERS += linuxsysaccelerometer.h SOURCES += linuxsysaccelerometer.cpp \ main.cpp - -target.path += $$[QT_INSTALL_PLUGINS]/sensors -INSTALLS += target -- cgit v1.2.1