Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Crosscompile QtMultimedia for Raspberry Pi
Forum Updated to NodeBB v4.3 + New Features

Crosscompile QtMultimedia for Raspberry Pi

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
31 Posts 3 Posters 12.0k Views 3 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.
  • SGaistS SGaist

    You have both version of GStreamer installed on your sysroot ?

    A Offline
    A Offline
    arsinte_andrei
    wrote on last edited by
    #20

    @SGaist As you can see form configure (I think that configure is looking into sysroot if I'm not wrong) It says only 1.0..

    1 Reply Last reply
    0
    • SGaistS SGaist

      You have both version of GStreamer installed on your sysroot ?

      A Offline
      A Offline
      arsinte_andrei
      wrote on last edited by
      #21

      @SGaist
      after a lot more digging here is what I've just found out

      • delete the libraries containing the unwanted elements (like /usr/lib/arm-linux-gnueabihf/gstreamer-1.0/libgstomx.so)
      • delete the cache ~/.cache/gstreamer-1.0/registry.arm.bin
      • re-run the application

      all are useless - at least in my case.

      • adapt QtMultimedia source code, see and re-compile, cf. http://code.qt.io/cgit/qt/qtmultimedia.git/tree/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.cpp?id=eedba02427aa4750011f010319bf34959ecbd3e1&h=5.10.0#n168

      and changed from "autoaudiosink" to "alsasink"
      is giving this now:

      ~/raspi/qt5/bin/qmake -r
      Cannot read /home/andrei/raspi/qtmultimedia/mkspecs/modules-inst/qt_lib_multimedia.pri: No such file or directory
      Cannot read /home/andrei/raspi/qtmultimedia/mkspecs/modules-inst/qt_lib_multimedia_private.pri: No such file or directory
      Cannot read /home/andrei/raspi/qtmultimedia/mkspecs/modules-inst/qt_lib_multimediagsttools_private.pri: No such file or directory
      Cannot read /home/andrei/raspi/qtmultimedia/mkspecs/modules-inst/qt_lib_multimediawidgets.pri: No such file or directory
      Cannot read /home/andrei/raspi/qtmultimedia/mkspecs/modules-inst/qt_lib_multimediawidgets_private.pri: No such file or directory
      Cannot read /home/andrei/raspi/qtmultimedia/mkspecs/modules-inst/qt_plugin_gstaudiodecoder.pri: No such file or directory
      Cannot read /home/andrei/raspi/qtmultimedia/mkspecs/modules-inst/qt_plugin_gstcamerabin.pri: No such file or directory
      Cannot read /home/andrei/raspi/qtmultimedia/mkspecs/modules-inst/qt_plugin_gstmediacapture.pri: No such file or directory
      Cannot read /home/andrei/raspi/qtmultimedia/mkspecs/modules-inst/qt_plugin_gstmediaplayer.pri: No such file or directory
      Cannot read /home/andrei/raspi/qtmultimedia/mkspecs/modules-inst/qt_plugin_mockserviceplugin1.pri: No such file or directory
      Cannot read /home/andrei/raspi/qtmultimedia/mkspecs/modules-inst/qt_plugin_mockserviceplugin2.pri: No such file or directory
      Cannot read /home/andrei/raspi/qtmultimedia/mkspecs/modules-inst/qt_plugin_mockserviceplugin3.pri: No such file or directory
      Cannot read /home/andrei/raspi/qtmultimedia/mkspecs/modules-inst/qt_plugin_mockserviceplugin4.pri: No such file or directory
      Cannot read /home/andrei/raspi/qtmultimedia/mkspecs/modules-inst/qt_plugin_mockserviceplugin5.pri: No such file or directory
      Cannot read /home/andrei/raspi/qtmultimedia/mkspecs/modules-inst/qt_plugin_qtaudio_alsa.pri: No such file or directory
      Cannot read /home/andrei/raspi/qtmultimedia/mkspecs/modules-inst/qt_plugin_qtmedia_pulse.pri: No such file or directory
      Cannot read /home/andrei/raspi/qtmultimedia/mkspecs/modules-inst/qt_plugin_qtmultimedia_m3u.pri: No such file or directory
      
      Running configuration tests...
      Done running configuration tests.
      
      Configure summary:
      
      Qt Multimedia:
        ALSA ................................... yes
        GStreamer 1.0 .......................... yes
        GStreamer 0.10 ......................... no
        Video for Linux ........................ yes
        OpenAL ................................. no
        PulseAudio ............................. yes
        Resource Policy (libresourceqt5) ....... no
        Windows Audio Services ................. no
        DirectShow ............................. no
        Windows Media Foundation ............... no
      
      Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer'.
      
      Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer_app'.
      
      Qt is now configured for building. Just run 'make'.
      Once everything is built, Qt is installed.
      You should NOT run 'make install'.
      Note that this build cannot be deployed to other machines or devices.
      
      Prior to reconfiguration, make sure you remove any leftovers from
      the previous build.
      
      Reading /home/andrei/.local/share/Trash/files/qtmultimedia (1)/src/src.pro
       Reading /home/andrei/.local/share/Trash/files/qtmultimedia (1)/src/multimedia/multimedia.pro
       Reading /home/andrei/.local/share/Trash/files/qtmultimedia (1)/src/multimediawidgets/multimediawidgets.pro
       Reading /home/andrei/.local/share/Trash/files/qtmultimedia (1)/src/gsttools/gsttools.pro
      Project ERROR: Could not find feature alsa.
      
      

      So.. where is Alsa??? where I can find it? how can I put it there??

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #22

        Is this on your desktop machine or on your Pi ?

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

        A 1 Reply Last reply
        0
        • SGaistS SGaist

          Is this on your desktop machine or on your Pi ?

          A Offline
          A Offline
          arsinte_andrei
          wrote on last edited by
          #23

          @SGaist this is when I try to crosscompile QtMultimedia after modifying that line there - when running

          ~/raspi/qt5/bin/qmake -r
          
          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #24

            Take a look at the tests to see what failed exactly.

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

            A 1 Reply Last reply
            0
            • SGaistS SGaist

              Take a look at the tests to see what failed exactly.

              A Offline
              A Offline
              arsinte_andrei
              wrote on last edited by
              #25

              @SGaist where is that... as you can see here

              Configure summary:
              
              Qt Multimedia:
                ALSA ................................... yes
                GStreamer 1.0 .......................... yes
                GStreamer 0.10 ......................... no
                Video for Linux ........................ yes
                OpenAL ................................. no
                PulseAudio ............................. yes
                Resource Policy (libresourceqt5) ....... no
                Windows Audio Services ................. no
                DirectShow ............................. no
                Windows Media Foundation ............... no
              

              the GStreamer 1 and ALSA did pas the test...and aftre that alsa is failing why???

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #26

                Read the config.log file

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

                A 1 Reply Last reply
                0
                • A Offline
                  A Offline
                  arsinte_andrei
                  wrote on last edited by
                  #27

                  until I find a proper way of doing it for Raspberry Pi.. here you have a workaround this problem - delete the libgtsomx.so I had to delete also the libgstomx-rpi.so then delete the cache.
                  but this is just a workaround and making it to work.. I do not know if that is the proper way of doing it...

                  1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Read the config.log file

                    A Offline
                    A Offline
                    arsinte_andrei
                    wrote on last edited by
                    #28

                    @SGaist said in Crosscompile QtMultimedia for Raspberry Pi:

                    Read the config.log file

                    Sorry but no config file found inside the qtmultimedia folder

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #29

                      You don't have anything like that in the build folder ?

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

                      A 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        You don't have anything like that in the build folder ?

                        A Offline
                        A Offline
                        arsinte_andrei
                        wrote on last edited by
                        #30

                        @SGaist OK... now I have a BIG question... where is that??

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #31

                          The build folder ? The folder in which you called qmake to build the QtMultimedia module.

                          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
                          0

                          • Login

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