diff options
Diffstat (limited to 'tests/auto/declarative/debugger/qdeclarativeinspector')
3 files changed, 2 insertions, 9 deletions
diff --git a/tests/auto/declarative/debugger/qdeclarativeinspector/app/app.pro b/tests/auto/declarative/debugger/qdeclarativeinspector/app/app.pro index 90595df881..6433631c4b 100644 --- a/tests/auto/declarative/debugger/qdeclarativeinspector/app/app.pro +++ b/tests/auto/declarative/debugger/qdeclarativeinspector/app/app.pro @@ -1,5 +1,5 @@ TARGET = app -QT += declarative quick widgets qtquick1 +QT += declarative quick widgets CONFIG += declarative_debug macx:CONFIG -= app_bundle diff --git a/tests/auto/declarative/debugger/qdeclarativeinspector/app/main.cpp b/tests/auto/declarative/debugger/qdeclarativeinspector/app/main.cpp index 03db274201..a7ef09c283 100644 --- a/tests/auto/declarative/debugger/qdeclarativeinspector/app/main.cpp +++ b/tests/auto/declarative/debugger/qdeclarativeinspector/app/main.cpp @@ -43,7 +43,6 @@ #include <QtCore/QStringList> #include <QtQuick/QQuickView> #include <QtGui/QGuiApplication> -#include <QtQuick1/QDeclarativeView> int main(int argc, char *argv[]) { @@ -66,8 +65,7 @@ int main(int argc, char *argv[]) QQuickView *view = new QQuickView(); view->setSource(QUrl::fromLocalFile("app/qtquick2.qml")); } else { - QDeclarativeView *view = new QDeclarativeView(); - view->setSource(QUrl::fromLocalFile("app/qtquick1.qml")); + qWarning("No suitable QtQuick1 implementation is available!"); } return app.exec(); } diff --git a/tests/auto/declarative/debugger/qdeclarativeinspector/app/qtquick1.qml b/tests/auto/declarative/debugger/qdeclarativeinspector/app/qtquick1.qml deleted file mode 100644 index 1709ef14a4..0000000000 --- a/tests/auto/declarative/debugger/qdeclarativeinspector/app/qtquick1.qml +++ /dev/null @@ -1,5 +0,0 @@ -import QtQuick 1.0 - -Item { - -} |