QML Camera type is so heavy



  • 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,


  • Moderators

    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.



  • @sierdzio yes I use Linux ,thanks for your reply but is there a better way to speed up Camera?


 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.