diff options
Diffstat (limited to 'tests/auto/qml/qmlplugindump')
-rw-r--r-- | tests/auto/qml/qmlplugindump/CMakeLists.txt | 4 | ||||
-rw-r--r-- | tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/tests/auto/qml/qmlplugindump/CMakeLists.txt b/tests/auto/qml/qmlplugindump/CMakeLists.txt index 1bf13a2c02..96eea00938 100644 --- a/tests/auto/qml/qmlplugindump/CMakeLists.txt +++ b/tests/auto/qml/qmlplugindump/CMakeLists.txt @@ -6,15 +6,13 @@ qt_internal_add_test(tst_qmlplugindump SOURCES - ../../shared/util.cpp ../../shared/util.h tst_qmlplugindump.cpp DEFINES QT_QMLTEST_DIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" - INCLUDE_DIRECTORIES - ../../shared PUBLIC_LIBRARIES Qt::GuiPrivate Qt::Qml + Qt::QuickTestUtilsPrivate ) ## Scopes: diff --git a/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp b/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp index 17e67269f3..542c1974c5 100644 --- a/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp +++ b/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp @@ -26,14 +26,13 @@ ** ****************************************************************************/ -#include "util.h" - #include <qtest.h> #include <QLibraryInfo> #include <QDir> #include <QProcess> #include <QDebug> #include <cstdlib> +#include <QtQuickTestUtils/private/qmlutils_p.h> class tst_qmlplugindump : public QQmlDataTest { @@ -56,6 +55,7 @@ private: }; tst_qmlplugindump::tst_qmlplugindump() + : QQmlDataTest(QT_QMLTEST_DATADIR) { } |