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

Plugin moveToThread warning/error on static build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.10.0 FF
    • Core: Plugins
    • None

    Description

      With recent 'dev' I get a bunch of warnings when starting a QML application:

      QObject::moveToThread: Current thread (0x6000004144e0) is not the object's thread (0x600002801b00).
      Cannot move to target thread (0x6000004144e0)
      

      The plugin that is tried to move in QFactoryLoader::instance() is:

      "IID":"org.qt-project.Qt.QImageIOHandlerFactoryInterface" (QSvgPlugin and QJpegPlugin)
      

      Plugin object's thread is: QQmlThread, but the instance() function's moveToThread() code here executes in Qt mainThread
      => cannot move to target thread -warning/error.

      Attachments

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

        Activity

          People

            vuokko Juha Vuolle
            vuokko Juha Vuolle
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes