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

Qt 5.14.0: QtQuick Extras module doesn't work on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 5.14.0
    • None
    • Qt 5.14.0 (arm64-v8a kit)
      macOS Catalina
      android-ndk-r20b
      Android Build SDK: android-26
    • Android

    Description

      I'm getting qrc:/main.qml:11 Type DelayButton unavailable error messages on Android for the types imported from QtQuick.Extras module. I have attached an example project alongside with its full debug output below. Qt Creator's default "Quick Extras" example projects don't work too


      I .example.extra: Late-enabling -Xcheck:jni
      I libthemeutils: Theme: libthemeutil.so load success
      I Perf    : Connecting to perf service.
      W System  : ClassLoader referenced unknown path:
      I QtCore  : Start
      I Qt      : qt started
      I Adreno  : QUALCOMM build                   : 2c6a1c7, I1490fecf6e
      I Adreno  : Build Date                       : 02/04/19
      I Adreno  : OpenGL ES Shader Compiler Version: EV031.25.03.02
      I Adreno  : Local Branch                     :
      I Adreno  : Remote Branch                    :
      I Adreno  : Remote Branch                    :
      I Adreno  : Reconstruct Branch               :
      I Adreno  : Build Config                     : S L 6.0.7 AArch64
      D vndksupport: Loading /vendor/lib64/hw/gralloc.msm8998.so from current namespace instead of sphal namespace.
      I Adreno  : PFP: 0x005ff112, ME: 0x005ff066
      I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
      I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
      I OpenGLRenderer: Initialized EGL, version 1.4
      D OpenGLRenderer: Swap behavior 2
      D vndksupport: Loading /vendor/lib64/hw/android.hardware.graphics.mapper@2.0-impl.so from current namespace instead of sphal namespace.
      D vndksupport: Loading /vendor/lib64/hw/gralloc.msm8998.so from current namespace instead of sphal namespace.
      W libextras_arm64-v8a.so: QQmlApplicationEngine failed to load component
      W libextras_arm64-v8a.so: qrc:/main.qml:11 Type DelayButton unavailable
      W libextras_arm64-v8a.so: file:///data/app/org.qtproject.example.extras-N3TxllNTWFdupybDva2mDg==/lib/arm64/DelayButton.qml:-1 No such file or directory
      12-24 21:59:13.485 18921 18939 W libextras_arm64-v8a.so:
      W libextras_arm64-v8a.so: exit app 0
      
      "org.qtproject.example.extras" died.
      

      By the way, the example project does work on Desktop (macOS) without a problem. I put a picture of it below as well.

      Attachments

        1. extras.zip
          3 kB
          Ömer Göktaş
        2. on-desktop.jpg
          81 kB
          Ömer Göktaş
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            kozmon Ömer Göktaş
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes