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

QML engine creates user plugins in QML thread when built statically

    XMLWordPrintable

Details

    Description

      There's a difference of behaviour between building statically and dynamically.

      When building statically my plugins will be created in the QML thread instead of main thread, because of qqmlimport.cpp (QQmlImportsPrivate::populatePluginPairVector())

      This later makes my application crash because the plugin creates a QQmlComponent which is in a different thread than the QQmlEngine.

      Attachments

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

        Activity

          People

            shausman Simon Hausmann
            iamsergio Sergio Martins
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes