aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/debugger/qdeclarativeinspector/app/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/debugger/qdeclarativeinspector/app/main.cpp')
-rw-r--r--tests/auto/declarative/debugger/qdeclarativeinspector/app/main.cpp4
1 files changed, 1 insertions, 3 deletions
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();
}