aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/headersclean
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/headersclean')
-rw-r--r--tests/auto/headersclean/headersclean.pro2
-rw-r--r--tests/auto/headersclean/tst_headersclean.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/headersclean/headersclean.pro b/tests/auto/headersclean/headersclean.pro
index 16802b7e06..4ce05fe512 100644
--- a/tests/auto/headersclean/headersclean.pro
+++ b/tests/auto/headersclean/headersclean.pro
@@ -3,4 +3,4 @@ TARGET = tst_headersclean
SOURCES += tst_headersclean.cpp
QT = core testlib
-contains(QT_CONFIG,declarative): QT += declarative declarative-private
+contains(QT_CONFIG,qml): QT += qml qml-private
diff --git a/tests/auto/headersclean/tst_headersclean.cpp b/tests/auto/headersclean/tst_headersclean.cpp
index 132eb90231..d5131f96cd 100644
--- a/tests/auto/headersclean/tst_headersclean.cpp
+++ b/tests/auto/headersclean/tst_headersclean.cpp
@@ -49,7 +49,7 @@
#include <QtCore/QtCore>
#include <QtTest/QtTest>
-#include <QtDeclarative/QtDeclarative>
+#include <QtQml/QtQml>
class tst_HeadersClean: public QObject
{