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

QThread does not indicate that an event dispatcher is created in start()

XMLWordPrintable

    • All
    • 1
    • 867fee2c15 (qt/qtbase/dev) 867fee2c15 (qt/tqtc-qtbase/dev) b08b71230f (qt/qtbase/6.2) 6115d469b0 (qt/qtbase/6.3)

      In the documentation for QThread::setEventDispatcher, it discusses that you can provide your own QAbstractEventDispatcher if one has not been installed already, and even alludes to one being automatically created, but doesn't outright state that one is created when QThread::start is called.

      This makes it confusing for people whom may wish to manually drive the event loop of a QThread, as it is not clear that they can access the event dispatcher.

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

            thiago Thiago Macieira
            kkyzivat Keith Kyzivat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes