performance - Qt: Is QML faster than c++ widget? -
should make qwidget , reimplement paint function or make qml widget , plug in qwidget in consideration of performance.
depends on mean "faster" , "performance". qml offers better framerates, because uses renderer minimizes costly context switches. @ same time, qml considerably slower instantiate, , uses more memory. though can compile qml code c++, not available in "free" version, in "professional" , "enterprise" licenses.
but development time should considered, many regard expansive resource, , right so. ui qml tremendously faster implement compared qtwidgets when need custom ui elements animations, effects , on. standard widgets , desktop applications can use designer, makes qtwidgets comparable qml in regard.
Comments
Post a Comment