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

Qt5Compat GraphicalEffects library failed to load

    XMLWordPrintable

Details

    • 0649d88215 (qtsdk/tqtc-qtsdk/master)

    Description

      Example in attachment.
      Example made from simple new project, with following modifications:

      • "QT += core5compat" in .pro
      • "ColorOverlay" qml element in main.qml
      • "import Qt5Compat.GraphicalEffects" in main.qml

      When running the app it failed at startup, here is the logs :

      W libtestCore5Compat_x86_64.so: QQmlApplicationEngine failed to load component
      W libtestCore5Compat_x86_64.so: qrc:/testCore5Compat/main.qml:17:5: Type ColorOverlay unavailable
      W libtestCore5Compat_x86_64.so: qrc:/qt-project.org/imports/Qt5Compat/GraphicalEffects/ColorOverlay.qml:5:1: Cannot load library /data/app/~~Z9ES9cLNa6gT_Av2wOtzUQ==/org.qtproject.example.testCore5Compat-Tlp1cnuJvOMArVVKhDsJLg==/lib/x86_64/libqml_Qt5Compat_GraphicalEffects_private_qtgraphicaleffectsprivateplugin_x86_64.so: (dlopen failed: library "_data_app_~~Z9ES9cLNa6gT_Av2wOtzUQ==_org.qtproject.example.testCore5Compat-Tlp1cnuJvOMArVVKhDsJLg==_lib_x86_64_libqml_Qt5Compat_GraphicalEffects_private_qtgraphicaleffectsprivateplugin_x86_64.so" not found)
      W libtestCore5Compat_x86_64.so: exit app 0
      

      The library "libqml_Qt5Compat_GraphicalEffects_private_qtgraphicaleffectsprivateplugin_x86_64.so" is in folder build.

      Same problem on emulator or real Android device.

      Did I miss something?

      Attachments

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

        Activity

          People

            janihe Jani Heikkinen
            apap_ Loic Martin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes