QML Camera type is so heavy
Unsolved
QML and Qt Quick
-
Hi,
After profiling my application by "QML Profiler" It seems that Camera type is so heavy that influence on application startup time I use loader and asynchronous but there is merely difference achieved at the end.
Do you have any suggestion for me?Yours,
-
Are you on Linux? In my experience QML Camera is especially slow on Linux. There were some fixes for it back in Qt 5.12.1 I think. So make sure you are using the newest Qt and up-to-date system.
One solution I have found, but which is a bit ugly - use QCamera from QtWidgets. It works way faster.