Hello, Could anybody explain me what's wrong in this simple application?
It can't start on Android device. Thank you. import QtQuick.Controls 2.2 import QtQuick 2.7 ApplicationWindow { id: appWindow visible: true width: 400 height: 600 Text { anchors.centerIn: parent text: qsTr( "Qt" ) font.pixelSize: 50 } } #include <QGuiApplication> #include <QQmlApplicationEngine> int main( int argc, char ** argv ) { QGuiApplication app( argc, argv ); QQmlApplicationEngine engine; engine.load( QUrl( "qrc:/qml/main.qml" ) ); if( engine.rootObjects().isEmpty() ) return -1; return app.exec(); } TEMPLATE = app TARGET = Test.Mobile QT += qml quickcontrols2 quick CONFIG += c++14 SOURCES = main.cpp RESOURCES = resources.qrc DISTFILES += qml/main.qml ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android OTHER_FILES += android/AndroidManifest.xml I can't deploy to Android anymore. And I don't have any idea. _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest