Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.5
-
None
Description
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.
Attachments
Issue Links
- resulted from
-
QTBUG-116478 [Reg 5.14.2 -> 5.15.0] Significant performance decrease when loading QtWebEngine pages simultaneously in many windows
- Closed