qt - QML window resize/move flicker -
i'm developing simple qml
application right , noticed resizing , moving qml
window generates ugly flicker compared qtwidgets
window, instance.
so created 2 test applications show difference:
qwidgets:
qml:
as can see qml
version of application flickers pretty ugly while qtwidgets
1 clean. gets pretty ugly when ui grows in complexity.
do have knowledge this? bug? there fix/workaround issue?
you can try this:
int main(int argc, char* argv[]) { qcoreapplication::setattribute(qt::aa_useopengles); or qcoreapplication::setattribute(qt::aa_usesoftwareopengl);
the first option uses opengl2direcx angle library (like google chrome)
the second 1 uses opengl emulation software... small programs work , 100% compatible old os windows xp.
note: can try qt 5.7 , new qtquick.controls 2.0 ...performs better... https://blog.qt.io/blog/2016/06/10/qt-quick-controls-2-0-a-new-beginning/
Comments
Post a Comment