Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-58106

SCXML trafficlight example fails to start on Android

XMLWordPrintable

    • Android

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            whoistheguilty Tapio Oksa
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes