summaryrefslogtreecommitdiffstats
path: root/tests/auto/qitemmodel
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qitemmodel')
-rw-r--r--tests/auto/qitemmodel/modelstotest.cpp1
-rw-r--r--tests/auto/qitemmodel/qitemmodel.pro2
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/qitemmodel/modelstotest.cpp b/tests/auto/qitemmodel/modelstotest.cpp
index 772f72b973..82c28b5303 100644
--- a/tests/auto/qitemmodel/modelstotest.cpp
+++ b/tests/auto/qitemmodel/modelstotest.cpp
@@ -43,7 +43,6 @@
#include <QtTest/QtTest>
#include <QtCore/QtCore>
#include <QtSql/QtSql>
-#include <QtGui/QtGui>
#include <QSortFilterProxyModel>
/*
diff --git a/tests/auto/qitemmodel/qitemmodel.pro b/tests/auto/qitemmodel/qitemmodel.pro
index b348a183f8..97d55fcd4d 100644
--- a/tests/auto/qitemmodel/qitemmodel.pro
+++ b/tests/auto/qitemmodel/qitemmodel.pro
@@ -1,7 +1,7 @@
load(qttest_p4)
SOURCES += tst_qitemmodel.cpp
-QT += sql
+QT += widgets sql
# NOTE: The deployment of the sqldrivers is disabled on purpose.
# If we deploy the plugins, they are loaded twice when running