diff --git a/tests/auto/qml/qmlprojectmanager/fileformat/fileformat.pro b/tests/auto/qml/qmlprojectmanager/fileformat/fileformat.pro index e85200c64ec..567364c106d 100644 --- a/tests/auto/qml/qmlprojectmanager/fileformat/fileformat.pro +++ b/tests/auto/qml/qmlprojectmanager/fileformat/fileformat.pro @@ -1,8 +1,7 @@ QTC_LIB_DEPENDS += qmljs include(../../../qttest.pri) -QT += script \ - declarative +QT += script PLUGIN_DIR=$$IDE_SOURCE_TREE/src/plugins/qmlprojectmanager diff --git a/tests/auto/qml/qmlprojectmanager/fileformat/fileformat.qbs b/tests/auto/qml/qmlprojectmanager/fileformat/fileformat.qbs index 0cc8f0aaf76..f6163c4e676 100644 --- a/tests/auto/qml/qmlprojectmanager/fileformat/fileformat.qbs +++ b/tests/auto/qml/qmlprojectmanager/fileformat/fileformat.qbs @@ -4,7 +4,7 @@ QtcAutotest { name: "QmlProjectManager file format autotest" Depends { name: "QmlJS" } Depends { name: "Utils" } - Depends { name: "Qt"; submodules: ["script", "declarative"]; } + Depends { name: "Qt"; submodules: ["script"]; } Depends { name: "Qt.widgets" } // TODO: Remove when qbs bug is fixed property path fileFormatDir: project.ide_source_tree + "/src/plugins/qmlprojectmanager/fileformat" files: "tst_fileformat.cpp" diff --git a/tests/auto/qml/qmlprojectmanager/fileformat/tst_fileformat.cpp b/tests/auto/qml/qmlprojectmanager/fileformat/tst_fileformat.cpp index d57fea17329..50b518e0dab 100644 --- a/tests/auto/qml/qmlprojectmanager/fileformat/tst_fileformat.cpp +++ b/tests/auto/qml/qmlprojectmanager/fileformat/tst_fileformat.cpp @@ -31,9 +31,6 @@ #include "qmlprojectitem.h" #include "filefilteritems.h" #include "qmlprojectfileformat.h" -#include -#include -#include #include //TESTED_COMPONENT=src/plugins/qmlprojectmanager/fileformat