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

[Reg 5.12.4 -> 5.14.0] Android: 'module "QtQuick" plugin "qtquick2plugin" not found'

    XMLWordPrintable

Details

    • Android

    Description

      I have installed Qt 5.14.0-beta1 android_armv7 via online installer. Building/deploying/running Qt Widget applications works fine, Qt Declarative applications on the other hand exit immediately:

      W/libuntitled38_armeabi-v7a.so( 5496): QQmlApplicationEngine failed to load component
      W/libuntitled38_armeabi-v7a.so( 5496): qrc:/main.qml:1 module "QtQuick" plugin "qtquick2plugin" not found
      W/libuntitled38_armeabi-v7a.so( 5496):
      W/libuntitled38_armeabi-v7a.so( 5496): exit app 0
      I/Zygote  (  130): Process 5496 exited cleanly (255)
      I/ActivityManager(  472): Process org.qtproject.example.untitled38 (pid 5496) has died
      

      Apparently, the qtquick2plugin library cannot be found. The apk contains a file

      lib/armeabi-v7a/libqml_QtQuick.2_qtquick2plugin_armeabi-v7a.so

      I assume that the postfix is due to the multi-archive feature of Qt Android 5.14. That same file inside a Qt 5.12.4 based apk is

      lib/armeabi-v7a/libqml_QtQuick.2_libqtquick2plugin.so

      Is the prior library name correct? If so, is the architecture-specific loading implemented correctly?

      Attachments

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

        Activity

          People

            taipan BogDan Vatra
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes