summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-09-20 11:33:58 +1000
committerLincoln Ramsay <lincoln.ramsay@nokia.com>2011-10-10 09:21:15 +1000
commite59f29fbcfe31beb7d68c06d597aa968a80a48cd (patch)
tree3779db0aa4320efa546e0e0c512a647bdd9fe59e /examples
parent5302a96da4217366979dc12d1d577b976c07e068 (diff)
downloadqtsensors-e59f29fbcfe31beb7d68c06d597aa968a80a48cd.tar.gz
Fixed compile of examples.
sensor_explorer needs QtWidgets. Change-Id: I423af27804f481d998f2354c5653c0ae50c1250e Reviewed-on: http://codereview.qt-project.org/5177 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/sensors/sensor_explorer/sensor_explorer.pro2
-rw-r--r--examples/sensors/sensors.pro5
2 files changed, 4 insertions, 3 deletions
diff --git a/examples/sensors/sensor_explorer/sensor_explorer.pro b/examples/sensors/sensor_explorer/sensor_explorer.pro
index 0868f30..311ae0b 100644
--- a/examples/sensors/sensor_explorer/sensor_explorer.pro
+++ b/examples/sensors/sensor_explorer/sensor_explorer.pro
@@ -1,6 +1,6 @@
TEMPLATE=app
TARGET=sensor_explorer
-QT=core gui sensors
+QT=core gui widgets sensors
FORMS=\
explorer.ui
diff --git a/examples/sensors/sensors.pro b/examples/sensors/sensors.pro
index adc00c7..04033fc 100644
--- a/examples/sensors/sensors.pro
+++ b/examples/sensors/sensors.pro
@@ -4,6 +4,7 @@ SUBDIRS += \
accel\
cubehouse\
grueapp\
- grueplugin\
- sensor_explorer
+ grueplugin
+contains(QT_CONFIG,widgets):SUBDIRS += \
+ sensor_explorer