Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How can I force a repaint of the screen ?
-
How can I force a repaint of the screen ?
-
There is a update() method, maybe this is what you are searching for?
@import QtQuick 2.2
Rectangle {
width: 200
height: 200
Component.onCompleted: update()
}@Otherwise you could connect a qml-signal to a cpp-slot which updates your qml.
-
Unfortunately not.
The update() only schdule for paint but not force it.
-
Hmm okay, in that case i would go for the signal-slot connection.