diff options
-rw-r--r-- | src/testlib/qbenchmark.cpp | 2 | ||||
-rw-r--r-- | src/testlib/qtestaccessible.h | 4 | ||||
-rw-r--r-- | src/testlib/testlib.pro | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/testlib/qbenchmark.cpp b/src/testlib/qbenchmark.cpp index d933fb1d57..ac0b9209c1 100644 --- a/src/testlib/qbenchmark.cpp +++ b/src/testlib/qbenchmark.cpp @@ -44,7 +44,7 @@ #include "QtTest/private/qbenchmarkmetric_p.h" #ifdef QT_GUI_LIB -#include <QtGui/qapplication.h> +#include <QtGui/qguiapplication.h> #endif #include <QtCore/qprocess.h> diff --git a/src/testlib/qtestaccessible.h b/src/testlib/qtestaccessible.h index c03b2d2140..e2a5b6a1ae 100644 --- a/src/testlib/qtestaccessible.h +++ b/src/testlib/qtestaccessible.h @@ -55,8 +55,8 @@ QVERIFY(QTestAccessibility::verifyEvent(object, child, (int)event)) #include <QtCore/qlist.h> -#include <QtGui/qaccessible.h> -#include <QtGui/qapplication.h> +#include <QtWidgets/qaccessible.h> +#include <QtWidgets/qapplication.h> QT_BEGIN_HEADER diff --git a/src/testlib/testlib.pro b/src/testlib/testlib.pro index 3408c91420..18312d4829 100644 --- a/src/testlib/testlib.pro +++ b/src/testlib/testlib.pro @@ -1,6 +1,6 @@ TARGET = QtTest QPRO_PWD = $$PWD -QT = core +QT = core gui widgets CONFIG += module MODULE_PRI = ../modules/qt_testlib.pri |