From 2920db660ada35b590f230d4d7cd1f203e1f5246 Mon Sep 17 00:00:00 2001 From: Toby Tomkins Date: Mon, 28 Nov 2011 10:32:58 +1000 Subject: Fixed QtSensors example namespace compilation. Explicitly include QTimer. Change-Id: I24667b038106854d39f83fad8cf11225b153df79 Sanity-Review: Qt Sanity Bot Reviewed-by: Rohan McGovern --- examples/sensors/grue/plugin/gruesensorimpl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples') diff --git a/examples/sensors/grue/plugin/gruesensorimpl.h b/examples/sensors/grue/plugin/gruesensorimpl.h index 87061f02..fa4938e7 100644 --- a/examples/sensors/grue/plugin/gruesensorimpl.h +++ b/examples/sensors/grue/plugin/gruesensorimpl.h @@ -46,7 +46,9 @@ #include #include +QT_BEGIN_NAMESPACE class QTimer; +QT_END_NAMESPACE class gruesensorimpl : public QSensorBackend { -- cgit v1.2.3