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

(Windows) QtWidgets can't be loaded in a loader thread, because DLLMain assumes current thread is main thread

XMLWordPrintable

    • WinRT
    • 894ce8aaab8d3319a704deb73cb5109d092df0aa

      QtWidgets initializes the thread data for QApplication on DLL load, which means that QApplication thinks the main thread is whatever thread the DLL was loaded in. On WinRT, though, the application launcher runs all UI code in a separate thread than the DLLs are loaded. So, this thread data should be initialized later, such as when the QApplication is loaded, or via a hack in libqtmain.

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

            Unassigned Unassigned
            andrew.knight Andrew Knight
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes