Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

module "QtQuick" is not installed (Android porting)

$
0
0
Hi all, I’m trying to porting my application to android with qt5.4 but I have this error: W/Qt (30916): qrc:/qml/FrontEnd.qml:1 ((null)): qrc:/qml/FrontEnd.qml:1:1: module “QtQuick” is not installed This is my .pro TEMPLATE = app TARGET = sandbox-build-android   QT+= qml quick widgets printsupport xml svg   INCLUDEPATH += [...]# my include path   # Input HEADERS += [...] # my include SOURCES += [...] # my source   RESOURCES += ../sandbox/resources.qrc   LIBS += -L$$PWD/../../edalab/else-datamodel-classes/build-buildAndroid-Android_for_armeabi_v7a_GCC_4_9_Qt_5_4_0-Debug/ -lbuildAndroid   INCLUDEPATH += [...] DEPENDPATH += [...]   contains(ANDROID_TARGET_ARCH,armeabi-v7a) {     ANDROID_EXTRA_LIBS = [..] }   # Default rules for deployment. include(deployment.pri) This is my deployment.pri: android-no-sdk {     target.path = /data/user/qt     export(target.path)     INSTALLS += target } else:android {     x86 {         target.path = /libs/x86     } else: armeabi-v7a {         target.path = /libs/armeabi-v7a     } else {         target.path = /libs/armeabi     }     export(target.path)     INSTALLS += target } else:unix {     isEmpty(target.path) {         qnx {             target.path = /tmp/$${TARGET}/bin         } else {             target.path = /opt/$${TARGET}/bin         }         export(target.path)     }     INSTALLS += target }   export(INSTALLS) In my FrontEnd.qml I have this import: import QtQuick 2.4 import QtQuick.Controls 1.3 I don’t see any substantial difference from .pro of example projects that work properly on Android.

Viewing all articles
Browse latest Browse all 2113

Trending Articles