Qt Creator
  1. Qt Creator
  2. QTCREATORBUG-17819

plugin cannot be loaded for module "QtGraphicalEffects"

    Details

    • Type: Bug Bug
    • Status: Reported
    • Priority: Not Evaluated Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.2.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Qt 5.8
      Qt Creator 4.2.1
      Xcode 8.2
      OSX 10.11.6
      iPhone iOS 10.2.1
      Android 6.0.1

      Description

      just in the process of updating all my projects from 5.7 to 5.8
      configured project for Android, iOS, OSX
      can build and run on all platforms without any problems
      but under 'General messages' I got this:

      QML module does not contain information about components contained in
      plugins.
      Module path:
      /daten/_qt_sdks/sdk_580/5.8/android_armv7/qml/QtGraphicalEffects
      See "Using QML Modules with Plugins" in the documentation.
      Automatic type dump of QML module failed.
      Errors:
      "/daten/_qt_sdks/sdk_580/5.8/clang_64/bin/qmlplugindump" returned exit
      code 3.
      Arguments: -nonrelocatable QtGraphicalEffects 1.0 .
      Error parsing dependencies file <outputOfQmlimportscanner>:illegal value
      at 0
      failed to proecess output of qmlimportscanner
      QQmlComponent: Component is not ready
      file:///daten/_qt_sdks/sdk_580/5.8/android_armv7/qml/typelist.qml:2:1:
      plugin cannot be loaded for module "QtGraphicalEffects":
      '/daten/_qt_sdks/sdk_580/5.8/android_armv7/qml/QtGraphicalEffects/libqtgraphicaleffectsplugin.so'
      is not a valid Mach-O binary (invalid magic 7f454c46)
      

      discussed another warning with J-P and he asked me if auto-completing of
      DropShadow is working.

      yes - it's working - so it seems the Type is known and I can ignore the
      error

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

        Activity

        Hide
        Marco Benelli added a comment -

        It seems there are two problems here.

        The first one is "Error parsing dependencies file <outputOfQmlimportscanner>:illegal value at 0"
        This is a duplicate of QTBUG-58930, that is fixed now.

        The second one is ".. is not a valid Mach-O binary (invalid magic 7f454c46)"
        Apparently, qmlplugindumper is trying to load on the host platform also the library compiled for the target platform.
        However, since it loads also the correct one it is able to do its job anyway, but of course, it shouldn't try to load the wrong library.
        Do the warnig appear on 5.7 ? If not, I woneder if the second problem is triggered by the first; my guess is that, not being able to read dependencies (because of QTBUG-58930) it try to load unneeded libraries.

        Please let me know if the problem persists with 5.9.0 Beta or later version of Qt.

        Show
        Marco Benelli added a comment - It seems there are two problems here. The first one is "Error parsing dependencies file <outputOfQmlimportscanner>:illegal value at 0" This is a duplicate of QTBUG-58930 , that is fixed now. The second one is ".. is not a valid Mach-O binary (invalid magic 7f454c46)" Apparently, qmlplugindumper is trying to load on the host platform also the library compiled for the target platform. However, since it loads also the correct one it is able to do its job anyway, but of course, it shouldn't try to load the wrong library. Do the warnig appear on 5.7 ? If not, I woneder if the second problem is triggered by the first; my guess is that, not being able to read dependencies (because of QTBUG-58930 ) it try to load unneeded libraries. Please let me know if the problem persists with 5.9.0 Beta or later version of Qt.
        Hide
        Ekkehard added a comment -

        this warning didn't appear with 5.7

        thx for your infos - will try with 5.9 Beta again

        Show
        Ekkehard added a comment - this warning didn't appear with 5.7 thx for your infos - will try with 5.9 Beta again

          People

          • Assignee:
            Marco Benelli
            Reporter:
            Ekkehard
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Gerrit Reviews

              There are no open Gerrit changes