Cleanup example scanner.
Change-Id: I341872bbf45021653e86f2c5af8382db5ef83c0c Reviewed-by: Alex <alex.blasche@nokia.com>
This commit is contained in:
parent
1f80a5ac15
commit
e9fe7e968f
|
@ -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));
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
QT += concurrent widgets declarative network bluetooth quick
|
||||
QT += concurrent network bluetooth quick
|
||||
SOURCES += qmlscanner.cpp
|
||||
|
||||
TARGET = qml_scanner
|
||||
|
|
Loading…
Reference in New Issue