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

doc: Outdated comment in QTimer docs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.5
    • Documentation
    • None

      In the QTimer docs, it reads "This is the traditional way of implementing heavy work in GUI applications, but as multithreading is nowadays becoming available on more and more platforms, we expect that zero-millisecond QTimer objects will gradually be replaced by QThreads"

      This seems outdated and it partially contradicts the comment in the docs for QTimer::start(): "Keeping the event loop busy with a zero-timer is bound to cause trouble and highly erratic behavior of the UI."

      So I think it's worth fixing up the documentation to remove the outdated comments, remove the recommendation of using zero-timers from the main docs and rather describe the current best practices/different tools we have for doing work while an event loop is still running.

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

            docteam Qt Documentation Team
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes