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

Calling XInitThreads before the QApplication constructor makes the constructor block

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.8.0
    • 4.1.4
    • Core: Threads
    • None

      The constructor hangs waiting for a mutex, within a call to the XInput extension. This is a bug in Xlib or X11, but Qt should allow to turn off the XInput call without requiring a complete reconfigure or recompile, ie. through an environment variable.

      XInitThreads needs to be called to be able to render OpenGL from multiple threads, which works without problems on Mac and Windows.

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

            rodal Samuel Rødal
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes