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:

enter image description here

qml:

enter image description here

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

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -