From a5fa0cf98cdedd6dc3488b590499b0b4387747dc Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sat, 22 Dec 2012 13:28:13 -0800 Subject: Make the QtTest GUI headers compile on their own Though no one is supposed to include them directly, it's a good idea to ensure that they are tested too. They're only included from the master header when QT_GUI_LIB and QT_WIDGETS_LIB are #defined. Change-Id: Ie84bb6fd4c18b5b51ab35463f9082feaa0693c97 Reviewed-by: Harald Fernengel --- src/testlib/qtestmouse.h | 1 + src/testlib/qtesttouch.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/testlib/qtestmouse.h b/src/testlib/qtestmouse.h index c24b09b14c..6f51831626 100644 --- a/src/testlib/qtestmouse.h +++ b/src/testlib/qtestmouse.h @@ -54,6 +54,7 @@ #include #include #include +#include #ifdef QT_WIDGETS_LIB #include diff --git a/src/testlib/qtesttouch.h b/src/testlib/qtesttouch.h index a291507142..97acef47b7 100644 --- a/src/testlib/qtesttouch.h +++ b/src/testlib/qtesttouch.h @@ -53,6 +53,7 @@ #include #include #include +#include #ifdef QT_WIDGETS_LIB #include #endif -- cgit v1.2.3