the poster example needs no widgets, but it needs quick
Task-number: QTBUG-36893 Change-Id: Ic77fe07aa450001386be0b2e0d4a99f2e674dbb2 Reviewed-by: Alex Blasche <alexander.blasche@digia.com> Reviewed-by: Rolf Eike Beer <eb@emlix.com>
This commit is contained in:
parent
b4bde05d84
commit
0156038682
|
@ -2,7 +2,10 @@ TEMPLATE = subdirs
|
|||
qtHaveModule(widgets) {
|
||||
SUBDIRS += \
|
||||
annotatedurl \
|
||||
ndefeditor \
|
||||
ndefeditor
|
||||
}
|
||||
qtHaveModule(quick) {
|
||||
SUBDIRS += \
|
||||
poster
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
QT += qml quick network nfc widgets
|
||||
QT += qml quick network nfc
|
||||
|
||||
SOURCES += \
|
||||
qmlposter.cpp
|
||||
|
|
|
@ -38,13 +38,13 @@
|
|||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtGui/QGuiApplication>
|
||||
#include <QtQml/QQmlEngine>
|
||||
#include <QtQuick/QQuickView>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication application(argc, argv);
|
||||
QGuiApplication application(argc, argv);
|
||||
const QString mainQmlApp = QLatin1String("qrc:/poster.qml");
|
||||
QQuickView view;
|
||||
view.setSource(QUrl(mainQmlApp));
|
||||
|
|
Loading…
Reference in New Issue