Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
5.8.0 RC, 5.9.1, 5.12.3
Description
When you try to start the SCXML trafficlight example on Android, it fails with the following error:
W libtrafficlight-qml-dynamic.so: (null):0 ((null)): QQmlApplicationEngine failed to load component W libtrafficlight-qml-dynamic.so: (null):0 ((null)): qrc:///trafficlight-qml-dynamic.qml:53 Type TrafficLight unavailable W libtrafficlight-qml-dynamic.so: qrc:///TrafficLight.qml:51 module "QtQuick" is not installed W libtrafficlight-qml-dynamic.so: qrc:///TrafficLight.qml:52 module "QtQuick.Window" is not installed
The project has a main .qml file (traffic-light-dynamic.qml) which instantiates TrafficLight.qml, and the two missing imports are imported from TrafficLight.qml.
For some reason, it seems that the qmlimportscanner is not detecting the imports of TrafficLight.qml, only of traffic-light-dynamic.qml, causing this error.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-20710 Add a means to pass extra paths for imports and QML files to androiddeployqt
-
- Reported
-