Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. problem deploying qt app with camera
Forum Updated to NodeBB v4.3 + New Features

problem deploying qt app with camera

Scheduled Pinned Locked Moved Solved Installation and Deployment
11 Posts 4 Posters 556 Views 2 Watching
  • 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.
  • S Offline
    S Offline
    SGaist
    Lifetime Qt Champion
    wrote on 13 Jan 2025, 18:48 last edited by
    #2

    Hi,

    Did you also activate the verbose logging for QtMultimedia ?

    Might be a silly question but are you sure that all the ldd outputs are pointing to the librairies you deployed along your application and not from the system ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    Q 1 Reply Last reply 4 Feb 2025, 14:48
    0
    • O Offline
      O Offline
      oliver_mpt
      wrote on 14 Jan 2025, 07:39 last edited by
      #3

      Hello,
      No I have not used verbose logging for Qt multimedia, I didn't know it existed. I'll check that now.
      For the ldd output, I have effectively checked that the deployed libraries are used. For that to happen, I had to set the LD_LIBRARY_PATH variable to the proper path.

      1 Reply Last reply
      0
      • O Offline
        O Offline
        oliver_mpt
        wrote on 14 Jan 2025, 07:50 last edited by
        #4

        A short search has not given me a clear picture of how to activate verbose logging for Qt. Can you elaborate a bit ?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 14 Jan 2025, 20:06 last edited by
          #5

          You can find the syntax and some additional things you can enable in this page of the Qt Multimedia documentation.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • O Offline
            O Offline
            oliver_mpt
            wrote on 20 Jan 2025, 09:53 last edited by
            #6

            I have made several tests, and on the multimedia part, everything looks fine. However, finally I found that something about wayland appear to be missing, so I added other plugins in my deployment "plugins" folde, and here is its actual content (folders):
            iconengines
            imageformats
            multimedia
            platforms
            platforminputcontexts
            platformthemes
            wayland-decoration-client
            wayland-graphics-integration-client
            wayland-graphics-integration-server
            wayland-shell-integration
            xcbglintegrations

            I have now an error message at the start of the application: "qt.qpa.wayland: Failed to load client buffer integration: "wayland-egl" "

            One thing I don't understand is that, although I have set LD_LIBRARY_PATH to the deployment folder, I have to make symbolic links from the deployment folder to the different folders in "plugins" directory for them to be seen.

            J 1 Reply Last reply 20 Jan 2025, 10:06
            0
            • O oliver_mpt
              20 Jan 2025, 09:53

              I have made several tests, and on the multimedia part, everything looks fine. However, finally I found that something about wayland appear to be missing, so I added other plugins in my deployment "plugins" folde, and here is its actual content (folders):
              iconengines
              imageformats
              multimedia
              platforms
              platforminputcontexts
              platformthemes
              wayland-decoration-client
              wayland-graphics-integration-client
              wayland-graphics-integration-server
              wayland-shell-integration
              xcbglintegrations

              I have now an error message at the start of the application: "qt.qpa.wayland: Failed to load client buffer integration: "wayland-egl" "

              One thing I don't understand is that, although I have set LD_LIBRARY_PATH to the deployment folder, I have to make symbolic links from the deployment folder to the different folders in "plugins" directory for them to be seen.

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 20 Jan 2025, 10:06 last edited by
              #7

              @oliver_mpt said in problem deploying qt app with camera:

              Failed to load client buffer integration: "wayland-egl"

              Install libwayland-egl1 package

              Regarding plug-ins: take a look at https://doc.qt.io/qt-6/qt-conf.html

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • O Offline
                O Offline
                oliver_mpt
                wrote on 21 Jan 2025, 12:40 last edited by
                #8

                Hello
                Thanks for pointing me the qt.conf file. I will experiment with that.
                Regarding libwayland-egl1 package, apt reported that it was already installed in the most recent version.

                1 Reply Last reply
                0
                • O Offline
                  O Offline
                  oliver_mpt
                  wrote on 25 Jan 2025, 17:17 last edited by
                  #9

                  After some tests, I have setup the proper qt.conf file and that solved all issues, which were clearly related to paths for plugins and libraries. I think that qt.conf should be systematically used for correct deployment and the document cited by jsulm above is very clear.
                  Thanks !

                  1 Reply Last reply
                  0
                  • O oliver_mpt has marked this topic as solved on 25 Jan 2025, 17:18
                  • S SGaist
                    13 Jan 2025, 18:48

                    Hi,

                    Did you also activate the verbose logging for QtMultimedia ?

                    Might be a silly question but are you sure that all the ldd outputs are pointing to the librairies you deployed along your application and not from the system ?

                    Q Offline
                    Q Offline
                    QtFriend2024
                    wrote on 4 Feb 2025, 14:48 last edited by QtFriend2024 2 Apr 2025, 14:49
                    #10

                    @SGaist Hello, I switched to using OpenCV lib and a USB Camera instead of a CSI (Camera Serial Interface) Camera. I am able to build and run the application but it's a plain C++ application. I'll work on this more....

                    1 Reply Last reply
                    0
                    • Q Offline
                      Q Offline
                      QtFriend2024
                      wrote on 6 Mar 2025, 19:04 last edited by
                      #11

                      I switched to a USB Camera and am able to get my QT application to use the camera, now.

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved