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

Default QML import paths conflict and can result in crashes

XMLWordPrintable

    • macOS
    • d42bb3fdf (dev)

      Situation:

      • Application links dynamically to Qt
      • Loads plugins which link statically to Qt
      • All instances use QML
      • When the plugin UI is instantiated, the QML resources of the Application are tried to be imported

      Debug traces:

      standard	10:59:36.339770+0100	Resolve	Cannot load '/Applications/DaVinci Resolve/DaVinci Resolve.app/Contents/Resources/qml/QtQuick.2/libqtquick2plugin.dylib' into a statically linked Qt library.
      standard	10:59:36.343518+0100	Resolve	Cannot load '/Applications/DaVinci Resolve/DaVinci Resolve.app/Contents/Resources/qml/QtQuick.2/libqtquick2plugin.dylib' into a statically linked Qt library.
      standard	10:59:36.344352+0100	Resolve	Cannot load '/Applications/DaVinci Resolve/DaVinci Resolve.app/Contents/Resources/qml/QtQuick.2/libqtquick2plugin.dylib' into a statically linked Qt library.
      standard	10:59:36.345032+0100	Resolve	Cannot load '/Applications/DaVinci Resolve/DaVinci Resolve.app/Contents/Resources/qml/QtQuick.2/libqtquick2plugin.dylib' into a statically linked Qt library.
      standard	10:59:36.345854+0100	Resolve	Cannot load '/Applications/DaVinci Resolve/DaVinci Resolve.app/Contents/Resources/qml/QtQuick.2/libqtquick2plugin.dylib' into a statically linked Qt library.
      standard	10:59:36.346551+0100	Resolve	Cannot load '/Applications/DaVinci Resolve/DaVinci Resolve.app/Contents/Resources/qml/QtQuick.2/libqtquick2plugin.dylib' into a statically linked Qt library.
      standard	10:59:36.348459+0100	Resolve	Cannot load '/Applications/DaVinci Resolve/DaVinci Resolve.app/Contents/Resources/qml/QtQuick.2/libqtquick2plugin.dylib' into a statically linked Qt library.
      standard	10:59:36.349114+0100	Resolve	Cannot load '/Applications/DaVinci Resolve/DaVinci Resolve.app/Contents/Resources/qml/QtQuick.2/libqtquick2plugin.dylib' into a statically linked Qt library.
      standard	10:59:36.365361+0100	Resolve	Cannot load '/Applications/DaVinci Resolve/DaVinci Resolve.app/Contents/Resources/qml/QtQuick.2/libqtquick2plugin.dylib' into a statically linked Qt library.
      standard	10:59:36.371968+0100	Resolve	Cannot load '/Applications/DaVinci Resolve/DaVinci Resolve.app/Contents/Resources/qml/QtQuick/Templates.2/libqtquicktemplates2plugin.dylib' into a statically linked Qt library. 

      Analysis:

       

      As an exercise, I will provide the proposed patch via Gerrit.

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

            ulherman Ulf Hermann
            stefan.wastl Stefan Wastl
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes