summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtesttouch.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2012-01-12 14:24:39 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-12 14:50:28 +0100
commit265ce6071826304b25717af3fa4779ea98969e24 (patch)
tree88b3ba8078fcf816e4c0282d0db472e9b3443f69 /src/testlib/qtesttouch.h
parent1453f74cc5617894c98f09428c3062dfa448044e (diff)
Compile if the header files from QtWidgets are unavailable
Change-Id: I0a774fc1492e882bc6c02d913e6dace189fdb992 Reviewed-by: Kevin Simons <kevin.simons@nokia.com>
Diffstat (limited to 'src/testlib/qtesttouch.h')
-rw-r--r--src/testlib/qtesttouch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testlib/qtesttouch.h b/src/testlib/qtesttouch.h
index 6bdd2368f9..499db58b4d 100644
--- a/src/testlib/qtesttouch.h
+++ b/src/testlib/qtesttouch.h
@@ -54,7 +54,9 @@
#include <QtGui/QWindowSystemInterface>
#include <QtCore/qmap.h>
#include <QtGui/qevent.h>
+#ifdef QT_WIDGETS_LIB
#include <QtWidgets/qwidget.h>
+#endif
QT_BEGIN_HEADER