QMainWindow Goes Blank
Aamir last edited by
In my QMainWindow based application, I'm using two QQuickWidgets. One loads the map (using QML Map Type) and other one loads a custom scene. MainWindow also runs a QTimer at 10 Hz.
When I continuously zoom in/out on the map, at some point, the main window goes blank. This behavior is quite consistent. After resizing the main window, it gets refreshed but sometimes the qml scene is not rendered properly. Kindly have a look at the attached screenshots.
Could someone please help me in figuring out why the main window goes blank and how to overcome it.
I've uploaded a complete example on github: github link
Open the Map window using Map Menu, and try zooming in and out continuously.
Thanks a lot in advance.