Qt 6.11 is out! See what's new in the release
blog
How do I tell when GUI is fully displayed
-
I want to display a message to the user after the GUI has been fully displayed. Is there a signal indicating that the GUI is fully shown on the screen?
-
@Grimface override the showEvent of Mainwindow or your main widget.
https://doc.qt.io/qt-5.15/qwidget.html#showEvent -
Slightly different idea: If you know what you are doing call
repaintinstead ofupdate(updatemight gather a few calls before actually repainting). Ifrepaintis called from the GUI thread it will block until it is done. So, afterrepaintreturns you'll know that it has completed.Only don't call
repainttoo often. This will have really bad performance.