Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved QML Camera type is so heavy

    QML and Qt Quick
    2
    3
    155
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Alien
      Alien last edited by

      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,

      1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        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.

        (Z(:^

        Alien 1 Reply Last reply Reply Quote 1
        • Alien
          Alien @sierdzio last edited by

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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post