For anyone who might be interested I got rid of the annoying flittering by adding multi-sampling to qlmscene:
> qmlscene —multisample MyRectangle.qml
Everything re-sized smoothly but slowly distinctly with this option turned on.
By the way you can enable multi-sampling on QWindow class and its derivatives in your application by customizing its format:
QQuickView view;
view.setSource(QUrl("/path/to/MyRectangle.qml"));
QSurfaceFormat surfaceFormat(view.format());
surfaceFormat.setSamples(8);
view.setFormat(surfaceFormat);
↧










