Qml's strange blocks on windows11
-
Hi,all
i encounter this problem when i run qml-based application on windows 11 system,when scrollview used in it.The screen will flash with some colored blocks.Below is the screenshot when i'm using qgc,and also i can have the same cases with my own app written with qml.That things have never been found on windows 10.
I don't know what is the problem.
thanks for your time.
-
That is a render problem, try upgrading your graphics driver first, or you can switch to software rendering.
-
I also faced this problem, try using "layer.enabled: true" for your main QML element. It was also effective to use “QCoreApplication::setAttribute(Qt::AA_UseOpenGLES);” in C++, but for me personally this was not acceptable, because the project used other rendering methods.