From e59f29fbcfe31beb7d68c06d597aa968a80a48cd Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Tue, 20 Sep 2011 11:33:58 +1000 Subject: Fixed compile of examples. sensor_explorer needs QtWidgets. Change-Id: I423af27804f481d998f2354c5653c0ae50c1250e Reviewed-on: http://codereview.qt-project.org/5177 Reviewed-by: Qt Sanity Bot Reviewed-by: Lincoln Ramsay --- examples/sensors/sensor_explorer/sensor_explorer.pro | 2 +- examples/sensors/sensors.pro | 5 +++-- 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 -- cgit v1.2.1