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

QML_ELEMENT is broken in Qt 6.3.0 on Android

    XMLWordPrintable

Details

    • Android
    • cb94d6c997 (qt/qtdeclarative/dev) 1f65a840bf (qt/qtdeclarative/6.4) b30aaf3e33 (qt/qtdeclarative/6.3) b30aaf3e33 (qt/tqtc-qtdeclarative/6.3) 1f65a840bf (qt/tqtc-qtdeclarative/6.4)
    • 2022wk26FOQtforAndroid

    Description

      Running a simple example that uses QML_ELEMENT, fails with Qt 6.3.0 on Android due to a module deployment issue.

      Take the "Extending QML - Adding Types Example" https://doc.qt.io/qt-6/qtqml-referenceexamples-adding-example.html

      Add "QT += quick" to the pro file (otherwise it doesn't compile for Android)

      Build and run with the Android Qt 6.3.0 Clang arm64-v8a kit. 

      W libadding_arm64-v8a.so: QQmlComponent: Component is not ready

      W libadding_arm64-v8a.so: QList(qrc:example.qml:52:1: module "People" is not installed

      W libadding_arm64-v8a.so: import People 1.0

      W libadding_arm64-v8a.so: ^)

      W libadding_arm64-v8a.so: exit app 0

      Running the same example with Qt 6.2.4 on Android is fine, and running with 6.3.0 on Windows is fine.

       

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-102762
          # Subject Branch Project Status CR V

          Activity

            People

              semlanik Alexey Edelev
              rss Richard Stephens
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes