diff options
author | Debao Zhang <dbzhang800@gmail.com> | 2012-03-28 18:41:10 -0700 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-01 23:04:05 +0200 |
commit | e9fe7e968f1318484c237a2709b71deddeb4a686 (patch) | |
tree | d70bcf1a2ff7dc1ab71be6bc8ab46fd8820f0b51 /examples | |
parent | 1f80a5ac15e145dc2743bc5e4261ed8474a41a82 (diff) |
Cleanup example scanner.
Change-Id: I341872bbf45021653e86f2c5af8382db5ef83c0c
Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/scanner/qmlscanner.cpp | 6 | ||||
-rw-r--r-- | examples/scanner/scanner.pro | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/scanner/qmlscanner.cpp b/examples/scanner/qmlscanner.cpp index a6b87e90..d36188ec 100644 --- a/examples/scanner/qmlscanner.cpp +++ b/examples/scanner/qmlscanner.cpp @@ -38,13 +38,13 @@ ** ****************************************************************************/ -#include <QtWidgets/QApplication> +#include <QtGui/QGuiApplication> #include <QtQuick/QQuickView> -#include <QtDeclarative/QDeclarativeEngine> +#include <QtQml/QQmlEngine> int main(int argc, char *argv[]) { - QApplication application(argc, argv); + QGuiApplication application(argc, argv); const QString mainQmlApp = QLatin1String("qrc:/scanner.qml"); QQuickView view; view.setSource(QUrl(mainQmlApp)); diff --git a/examples/scanner/scanner.pro b/examples/scanner/scanner.pro index b83eb5d2..ff046a96 100644 --- a/examples/scanner/scanner.pro +++ b/examples/scanner/scanner.pro @@ -1,4 +1,4 @@ -QT += concurrent widgets declarative network bluetooth quick +QT += concurrent network bluetooth quick SOURCES += qmlscanner.cpp TARGET = qml_scanner |