Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
problem with window not redrawing
Cyrille de Brebisson last edited by
I have a problem with the qml window not repainting when the computer goes to sleep on windows...
When the app receives the windows sleep message, some QObject property (like connected) will change.
Some Qml object uses this property to display the connected state (text: object.connected?"connected":"disconnected")...
However, when the computer restore from sleep, the qml object has NOT redrawn. The property value for text is correct, but no painting happend on the change.
I would like to see if/how I can force a redraw of my application upon a resume from sleep, but I have not manged to succeed. I have tried doing an update on my mainUi, but I get an error telling me that there is nothing to update...
Can you please help me?