summaryrefslogtreecommitdiff
path: root/src/plugins/sensors/sensorfw/sensorfw.pro
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2016-09-30 18:33:12 -0700
committerLars Knoll <lars.knoll@qt.io>2016-11-07 08:52:25 +0000
commit5bf1bd00335d0c95c54de426a02da2a98257fedb (patch)
treeeeb6a2e805640d7bc7a9e72041627076c3afd90f /src/plugins/sensors/sensorfw/sensorfw.pro
parent8065e461421ea17a942ea09d67aaa053a136a54e (diff)
downloadqtsensors-5bf1bd00335d0c95c54de426a02da2a98257fedb.tar.gz
Port qtsensors to the new configure framework
Don't invoke pkg-config at build time, automatically check for sensorfw and compile the correct plugin if found. Change-Id: I30dcd41cdebd7cf082cec66f3122c24fbab5c893 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Diffstat (limited to 'src/plugins/sensors/sensorfw/sensorfw.pro')
-rw-r--r--src/plugins/sensors/sensorfw/sensorfw.pro6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/sensors/sensorfw/sensorfw.pro b/src/plugins/sensors/sensorfw/sensorfw.pro
index b30b362..63a6611 100644
--- a/src/plugins/sensors/sensorfw/sensorfw.pro
+++ b/src/plugins/sensors/sensorfw/sensorfw.pro
@@ -1,11 +1,9 @@
TARGET = qtsensors_sensorfw
-QT = core sensors network dbus
+QT = core sensors-private network dbus
include(sensorfw.pri)
-
-CONFIG += link_pkgconfig
-PKGCONFIG += sensord-qt5
+QMAKE_USE += sensorfw
CONFIGFILES.files = Sensors.conf
CONFIGFILES.path = /etc/xdg/QtProject/