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 11.7k 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.
  • A Offline
    A Offline
    arsinte_andrei
    wrote on last edited by
    #1

    after I've compiled Qt base without any problem, now I'm trying to compile QtMultimedia module. after downloaded with

    git clone git://code.qt.io/qt/qtmultimedia.git -b <base no - any base no>
    

    and running

    ~/raspi/qt5/bin/qmake -r GST_VERSION=1.0
    

    I'm getting this

    Info: creating stash file /home/andrei/raspi/qtmultimedia/.qmake.stash
    Info: creating cache file /home/andrei/raspi/qtmultimedia/.qmake.cache
    
    Running configuration tests...
    Checking for ALSA... yes
    Checking for Vivante GPU... no
    Checking for GStreamer 1.0... yes
    Checking for GStreamer App 1.0... yes
    Checking for GStreamer encoding-profile.h... yes
    Checking for GStreamer Photography 1.0... no
    Checking for Video for Linux... yes
    Checking for OpenAL... no
    Checking for PulseAudio >= 0.9.10... yes
    Checking for libresourceqt5... no
    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/raspi/qtmultimedia/src/src.pro
     Reading /home/andrei/raspi/qtmultimedia/src/multimedia/multimedia.pro
    Project MESSAGE: perl -w /home/andrei/raspi/qt5/bin/syncqt.pl -module QtMultimedia -version 5.10.0 -outdir /home/andrei/raspi/qtmultimedia /home/andrei/raspi/qtmultimedia
    <srcbase> = /home/andrei/raspi/qtmultimedia 
    <outbase> = /home/andrei/raspi/qtmultimedia 
    QtMultimedia: created fwd-include header(s) for <srcbase>/src/multimedia/ { qmediabindableinterface.h (2), qmediacontrol.h (2), qmediacontrol_p.h (1), qmediaenumdebug.h (1), qmediametadata.h (2), qmediaobject.h (2), qmediaobject_p.h (1), qmediaopenglhelper_p.h (1), qmediapluginloader_p.h (1), qmediaresourcepolicy_p.h (1), qmediaresourcepolicyplugin_p.h (1), qmediaresourceset_p.h (1), qmediaservice.h (2), qmediaservice_p.h (1), qmediaserviceprovider_p.h (1), qmediaserviceproviderplugin.h (9), qmediastoragelocation_p.h (1), qmediatimerange.h (3), qmultimedia.h (2), qmultimediautils_p.h (1), qtmultimediaglobal.h (1), qtmultimediaglobal_p.h (1) }
    QtMultimedia: created fwd-include header(s) for <srcbase>/src/multimedia/audio/ { qaudio.h (2), qaudiobuffer.h (2), qaudiobuffer_p.h (1), qaudiodecoder.h (2), qaudiodevicefactory_p.h (1), qaudiodeviceinfo.h (2), qaudioformat.h (2), qaudiohelpers_p.h (1), qaudioinput.h (2), qaudiooutput.h (2), qaudioprobe.h (2), qaudiosystem.h (4), qaudiosystemplugin.h (3), qaudiosystempluginext_p.h (1), qsamplecache_p.h (1), qsound.h (2), qsoundeffect.h (2), qsoundeffect_pulse_p.h (1), qsoundeffect_qaudio_p.h (1), qwavedecoder_p.h (1) }
    QtMultimedia: created fwd-include header(s) for <srcbase>/src/multimedia/camera/ { qcamera.h (2), qcamera_p.h (1), qcameraexposure.h (2), qcamerafocus.h (4), qcameraimagecapture.h (2), qcameraimageprocessing.h (2), qcamerainfo.h (2), qcameraviewfindersettings.h (2) }
    QtMultimedia: created fwd-include header(s) for <srcbase>/src/multimedia/controls/ { qaudiodecodercontrol.h (2), qaudioencodersettingscontrol.h (2), qaudioinputselectorcontrol.h (2), qaudiooutputselectorcontrol.h (2), qaudiorolecontrol.h (2), qcameracapturebufferformatcontrol.h (2), qcameracapturedestinationcontrol.h (2), qcameracontrol.h (2), qcameraexposurecontrol.h (2), qcamerafeedbackcontrol.h (2), qcameraflashcontrol.h (2), qcamerafocuscontrol.h (2), qcameraimagecapturecontrol.h (2), qcameraimageprocessingcontrol.h (2), qcamerainfocontrol.h (2), qcameralockscontrol.h (2), qcameraviewfindersettingscontrol.h (3), qcamerazoomcontrol.h (2), qimageencodercontrol.h (2), qmediaaudioprobecontrol.h (2), qmediaavailabilitycontrol.h (2), qmediacontainercontrol.h (2), qmediagaplessplaybackcontrol.h (2), qmedianetworkaccesscontrol.h (2), qmediaplayercontrol.h (2), qmediaplaylistcontrol_p.h (1), qmediaplaylistsourcecontrol_p.h (1), qmediarecordercontrol.h (2), qmediastreamscontrol.h (2), qmediavideoprobecontrol.h (2), qmetadatareadercontrol.h (2), qmetadatawritercontrol.h (2), qradiodatacontrol.h (2), qradiotunercontrol.h (2), qvideodeviceselectorcontrol.h (2), qvideoencodersettingscontrol.h (2), qvideorenderercontrol.h (2), qvideowindowcontrol.h (2) }
    QtMultimedia: created fwd-include header(s) for <srcbase>/src/multimedia/gsttools_headers/ { gstvideoconnector_p.h (1), qgstappsrc_p.h (1), qgstbufferpoolinterface_p.h (1), qgstcodecsinfo_p.h (1), qgstreameraudioinputselector_p.h (1), qgstreameraudioprobecontrol_p.h (1), qgstreamerbufferprobe_p.h (1), qgstreamerbushelper_p.h (1), qgstreamermessage_p.h (1), qgstreamermirtexturerenderer_p.h (1), qgstreamervideoinputdevicecontrol_p.h (1), qgstreamervideooverlay_p.h (1), qgstreamervideoprobecontrol_p.h (1), qgstreamervideorenderer_p.h (1), qgstreamervideorendererinterface_p.h (1), qgstreamervideowidget_p.h (1), qgstreamervideowindow_p.h (1), qgsttools_global_p.h (1), qgstutils_p.h (1), qgstvideobuffer_p.h (1), qgstvideorendererplugin_p.h (1), qgstvideorenderersink_p.h (1), qvideosurfacegstsink_p.h (1) }
    QtMultimedia: created fwd-include header(s) for <srcbase>/src/multimedia/playback/ { qmediacontent.h (2), qmedianetworkplaylistprovider_p.h (1), qmediaplayer.h (2), qmediaplaylist.h (2), qmediaplaylist_p.h (1), qmediaplaylistioplugin_p.h (1), qmediaplaylistnavigator_p.h (1), qmediaplaylistprovider_p.h (1), qmediaresource.h (3), qplaylistfileparser_p.h (1) }
    QtMultimedia: created fwd-include header(s) for <srcbase>/src/multimedia/qtmultimediaquicktools_headers/ { qdeclarativevideooutput_backend_p.h (1), qdeclarativevideooutput_p.h (1), qsgvideonode_p.h (1), qtmultimediaquickdefs_p.h (1) }
    QtMultimedia: created fwd-include header(s) for <srcbase>/src/multimedia/radio/ { qradiodata.h (2), qradiotuner.h (2) }
    QtMultimedia: created fwd-include header(s) for <srcbase>/src/multimedia/recording/ { qaudiorecorder.h (2), qmediaencodersettings.h (4), qmediarecorder.h (2), qmediarecorder_p.h (1) }
    QtMultimedia: created fwd-include header(s) for <srcbase>/src/multimedia/video/ { qabstractvideobuffer.h (3), qabstractvideobuffer_p.h (1), qabstractvideofilter.h (3), qabstractvideosurface.h (2), qimagevideobuffer_p.h (1), qmemoryvideobuffer_p.h (1), qvideoframe.h (2), qvideoframe_p.h (1), qvideoframeconversionhelper_p.h (1), qvideooutputorientationhandler_p.h (1), qvideoprobe.h (2), qvideosurfaceformat.h (2), qvideosurfaceoutput_p.h (1) }
    QtMultimedia: created deprecated header(s) { qtmultimediadefs.h }
    QtMultimedia: created version header
    QtMultimedia: created master header
    QtMultimedia: created headers.pri file
     Reading /home/andrei/raspi/qtmultimedia/src/multimediawidgets/multimediawidgets.pro
    Project MESSAGE: perl -w /home/andrei/raspi/qt5/bin/syncqt.pl -module QtMultimediaWidgets -version 5.10.0 -outdir /home/andrei/raspi/qtmultimedia /home/andrei/raspi/qtmultimedia
    <srcbase> = /home/andrei/raspi/qtmultimedia 
    <outbase> = /home/andrei/raspi/qtmultimedia 
    QtMultimediaWidgets: created fwd-include header(s) for <srcbase>/src/multimediawidgets/ { qcameraviewfinder.h (2), qgraphicsvideoitem.h (2), qpaintervideosurface_p.h (1), qtmultimediawidgetdefs.h (1), qvideowidget.h (2), qvideowidget_p.h (1), qvideowidgetcontrol.h (2) }
    QtMultimediaWidgets: created version header
    QtMultimediaWidgets: created master header
    QtMultimediaWidgets: created headers.pri file
     Reading /home/andrei/raspi/qtmultimedia/src/gsttools/gsttools.pro
    Project ERROR: Could not find feature alsa.
    
    

    How it cannot find Alsa if in the beginning, it says that ALSA ................................... yes
    very confusing and fustrating .. How can I sort it out??? What do I miss???

    sudo apt-get install gstreamer1.0-alsa libasound2-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-good gstreamer1.0-plugins-bad libraspberrypi-dev libpulse-dev alsa-base gstreamer1.0-omx libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
    

    I want for gstreamer 1...
    Many thanks

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

      Hi,

      Did you install these libraires in the device sysroot ?

      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

        Hi,

        Did you install these libraires in the device sysroot ?

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

        @SGaist yes I've rsync everything after the installation...

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

          Just to be sure I understand you correctly: you installed them on your Pi and then rsynced the sysroot back to your computer ?

          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
          • sneubertS Offline
            sneubertS Offline
            sneubert
            wrote on last edited by
            #5

            Did you run https://github.com/riscv/riscv-poky/blob/master/scripts/sysroot-relativelinks.py on your sysroot after rsync?

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

              yes, I've installed them on my RPI and then rsync to my computer and then run the python script to fix the symbolic links

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

                Did you re-run your configure from a clean state after syncing your RPi's sysroot ?

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

                A 2 Replies Last reply
                0
                • SGaistS SGaist

                  Did you re-run your configure from a clean state after syncing your RPi's sysroot ?

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

                  @SGaist yes... I've reconfigured and also I've recompiled Qtbase and tried to compile with the last version .. same results...

                  ~/raspi/qt5/bin/qmake -r GST_VERSION=1.0
                  
                  1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Did you re-run your configure from a clean state after syncing your RPi's sysroot ?

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

                    @SGaist Also when you said to run the config.. do you mean on the Qtbase? or on Qtmultimedia? - ./config on QtMultimedia is nor working - there is no config there... and if I run the config on Qtbase.. what is the scope for it? do I have to recompile QtBase? Anyway, I've recompiled QtBase.. same results with the new qmake...

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

                      When running only qmake -r I'm getting this:

                      andrei@MainPc:~/raspi/qtmultimedia$ ~/raspi/qt5/bin/qmake -r
                      
                      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/raspi/qtmultimedia/src/src.pro
                       Reading /home/andrei/raspi/qtmultimedia/src/multimedia/multimedia.pro
                      Project MESSAGE: perl -w /home/andrei/raspi/qt5/bin/syncqt.pl -module QtMultimedia -version 5.10.0 -outdir /home/andrei/raspi/qtmultimedia /home/andrei/raspi/qtmultimedia                                                                                                                                            
                      <srcbase> = /home/andrei/raspi/qtmultimedia                                                                                                                
                      <outbase> = /home/andrei/raspi/qtmultimedia 
                       Reading /home/andrei/raspi/qtmultimedia/src/multimediawidgets/multimediawidgets.pro
                      Project MESSAGE: perl -w /home/andrei/raspi/qt5/bin/syncqt.pl -module QtMultimediaWidgets -version 5.10.0 -outdir /home/andrei/raspi/qtmultimedia /home/andrei/raspi/qtmultimedia
                      <srcbase> = /home/andrei/raspi/qtmultimedia 
                      <outbase> = /home/andrei/raspi/qtmultimedia 
                       Reading /home/andrei/raspi/qtmultimedia/src/gsttools/gsttools.pro
                      Project MESSAGE: perl -w /home/andrei/raspi/qt5/bin/syncqt.pl -module QtMultimediaGstTools -version 5.10.0 -outdir /home/andrei/raspi/qtmultimedia /home/andrei/raspi/qtmultimedia
                      <srcbase> = /home/andrei/raspi/qtmultimedia 
                      <outbase> = /home/andrei/raspi/qtmultimedia 
                      QtMultimediaGstTools: created version header
                      QtMultimediaGstTools: created master header
                      QtMultimediaGstTools: created headers.pri file
                       Reading /home/andrei/raspi/qtmultimedia/src/plugins/plugins.pro
                        Reading /home/andrei/raspi/qtmultimedia/src/plugins/m3u/m3u.pro
                        Reading /home/andrei/raspi/qtmultimedia/src/plugins/gstreamer/gstreamer.pro
                         Reading /home/andrei/raspi/qtmultimedia/src/plugins/gstreamer/audiodecoder/audiodecoder.pro
                         Reading /home/andrei/raspi/qtmultimedia/src/plugins/gstreamer/camerabin/camerabin.pro
                         Reading /home/andrei/raspi/qtmultimedia/src/plugins/gstreamer/mediaplayer/mediaplayer.pro
                         Reading /home/andrei/raspi/qtmultimedia/src/plugins/gstreamer/mediacapture/mediacapture.pro
                        Reading /home/andrei/raspi/qtmultimedia/src/plugins/pulseaudio/pulseaudio.pro
                        Reading /home/andrei/raspi/qtmultimedia/src/plugins/alsa/alsa.pro
                      Reading /home/andrei/raspi/qtmultimedia/examples/examples.pro
                       Reading /home/andrei/raspi/qtmultimedia/examples/multimedia/multimedia.pro
                        Reading /home/andrei/raspi/qtmultimedia/examples/multimedia/audiodecoder/audiodecoder.pro
                        Reading /home/andrei/raspi/qtmultimedia/examples/multimedia/radio/radio.pro
                        Reading /home/andrei/raspi/qtmultimedia/examples/multimedia/spectrum/spectrum.pro
                         Reading /home/andrei/raspi/qtmultimedia/examples/multimedia/spectrum/3rdparty/fftreal/fftreal.pro
                         Reading /home/andrei/raspi/qtmultimedia/examples/multimedia/spectrum/app/app.pro
                        Reading /home/andrei/raspi/qtmultimedia/examples/multimedia/audiorecorder/audiorecorder.pro
                        Reading /home/andrei/raspi/qtmultimedia/examples/multimedia/audiodevices/audiodevices.pro
                        Reading /home/andrei/raspi/qtmultimedia/examples/multimedia/audioinput/audioinput.pro
                        Reading /home/andrei/raspi/qtmultimedia/examples/multimedia/audiooutput/audiooutput.pro
                       Reading /home/andrei/raspi/qtmultimedia/examples/multimediawidgets/multimediawidgets.pro
                        Reading /home/andrei/raspi/qtmultimedia/examples/multimediawidgets/camera/camera.pro
                        Reading /home/andrei/raspi/qtmultimedia/examples/multimediawidgets/videographicsitem/videographicsitem.pro
                        Reading /home/andrei/raspi/qtmultimedia/examples/multimediawidgets/videowidget/videowidget.pro
                        Reading /home/andrei/raspi/qtmultimedia/examples/multimediawidgets/player/player.pro
                        Reading /home/andrei/raspi/qtmultimedia/examples/multimediawidgets/customvideosurface/customvideosurface.pro
                         Reading /home/andrei/raspi/qtmultimedia/examples/multimediawidgets/customvideosurface/customvideoitem/customvideoitem.pro
                         Reading /home/andrei/raspi/qtmultimedia/examples/multimediawidgets/customvideosurface/customvideowidget/customvideowidget.pro
                      Reading /home/andrei/raspi/qtmultimedia/tests/tests.pro
                       Reading /home/andrei/raspi/qtmultimedia/tests/auto/auto.pro
                        Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/unit.pro
                         Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/multimedia.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qabstractvideobuffer/qabstractvideobuffer.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qabstractvideosurface/qabstractvideosurface.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qaudiorecorder/qaudiorecorder.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qaudioformat/qaudioformat.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qaudionamespace/qaudionamespace.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qcamera/qcamera.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qcamerainfo/qcamerainfo.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qcameraimagecapture/qcameraimagecapture.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediabindableinterface/qmediabindableinterface.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediacontainercontrol/qmediacontainercontrol.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediacontent/qmediacontent.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediaobject/qmediaobject.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediaplayer/qmediaplayer.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediaplaylist/qmediaplaylist.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediaplaylistnavigator/qmediaplaylistnavigator.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediapluginloader/qmediapluginloader.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediarecorder/qmediarecorder.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediaresource/qmediaresource.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediaservice/qmediaservice.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediaserviceprovider/qmediaserviceprovider.pro
                           Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediaserviceprovider/mockserviceplugin1/mockserviceplugin1.pro
                           Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediaserviceprovider/mockserviceplugin2/mockserviceplugin2.pro
                           Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediaserviceprovider/mockserviceplugin3/mockserviceplugin3.pro
                           Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediaserviceprovider/mockserviceplugin4/mockserviceplugin4.pro
                           Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediaserviceprovider/mockserviceplugin5/mockserviceplugin5.pro
                           Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediaserviceprovider/test/test.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediatimerange/qmediatimerange.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmetadatareadercontrol/qmetadatareadercontrol.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmetadatawritercontrol/qmetadatawritercontrol.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qradiodata/qradiodata.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qradiotuner/qradiotuner.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qvideoencodersettingscontrol/qvideoencodersettingscontrol.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qvideoframe/qvideoframe.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qvideosurfaceformat/qvideosurfaceformat.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qwavedecoder/qwavedecoder.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qaudiobuffer/qaudiobuffer.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qaudiodecoder/qaudiodecoder.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qaudioprobe/qaudioprobe.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qvideoprobe/qvideoprobe.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qsamplecache/qsamplecache.pro
                         Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/multimediawidgets.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qcameraviewfinder/qcameraviewfinder.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qcamerawidgets/qcamerawidgets.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/unit/qmediaplayerwidgets/qmediaplayerwidgets.pro
                        Reading /home/andrei/raspi/qtmultimedia/tests/auto/integration/integration.pro
                         Reading /home/andrei/raspi/qtmultimedia/tests/auto/integration/multimedia.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/integration/qaudiodecoderbackend/qaudiodecoderbackend.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/integration/qaudiodeviceinfo/qaudiodeviceinfo.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/integration/qaudioinput/qaudioinput.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/integration/qaudiooutput/qaudiooutput.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/integration/qmediaplayerbackend/qmediaplayerbackend.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/integration/qcamerabackend/qcamerabackend.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/integration/qsoundeffect/qsoundeffect.pro
                          Reading /home/andrei/raspi/qtmultimedia/tests/auto/integration/qsound/qsound.pro
                        Reading /home/andrei/raspi/qtmultimedia/tests/auto/cmake/cmake.pro
                      Project MESSAGE: cmake executable not found. Not running CMake unit tests
                      
                      
                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        From the looks of it, it seems OK.

                        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

                          From the looks of it, it seems OK.

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

                          @SGaist yes I know it seems ok.. but it does not compile... that is the problem... also When I compile it without

                          GST_VERSION=1.0
                          

                          is passing the alsa check - but with it no...
                          also without it is giving

                          cmake executable not found. Not running CMake unit tests
                          

                          which is strange again... Hmmm... what it can be??

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

                            What if you disable ALSA support ?

                            The cmake warning can be ignored, it just states that the related tests won't be run.

                            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

                              What if you disable ALSA support ?

                              The cmake warning can be ignored, it just states that the related tests won't be run.

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

                              @SGaist but I need Alsa support! I'm using ALSA with IQaudio Pi-DigiAMP+.
                              What other option do you think is available?
                              how to disable ALSA? and how to ignore the < Not running CMake unit tests > How to disable those tests anyway?

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

                                I don't remember the options when using qmake directly, however you can comment the alsa relate lines in qtmultimedia/src/plugins.pro.

                                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

                                  I don't remember the options when using qmake directly, however you can comment the alsa relate lines in qtmultimedia/src/plugins.pro.

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

                                  @SGaist yep but what alternative do I have without ALSA? will PulseAudio work without ALSA? As far as I can see Qt is supporting only ALSA and PulseAudio and nothing else...

                                  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
                                  

                                  at least into my configuration

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

                                    I meant that as a test to ensure that you could build the module. So then we can concentrate on why ALSA is not found properly at compile time.

                                    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

                                      I meant that as a test to ensure that you could build the module. So then we can concentrate on why ALSA is not found properly at compile time.

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

                                      @SGaist after googling a lot .. my conclusion is that there is some sort of problem in QtMultimedia relating to gStreamer version - a fight between old one 0.1 and new one 1.0...

                                      "No decoder available for type 'audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2, parsed=(boolean)true'."
                                      

                                      this appeared on my Pi as a program error...

                                      by the way, I've also realised that compiling QtMultimedia just with

                                      ~/raspi/qtmultimedia$ ~/raspi/qt5/bin/qmake -r
                                      

                                      is working but when I'm trying to specify the GST version with

                                      GST_VERSION=1.0
                                      

                                      it can not find ALSA....
                                      witch, to be honest, is strange for me... that means 2 things:

                                      1. without gst version is compiling using gstreamer 0.1 witch acourding to this
                                      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
                                      

                                      is not even available - but I can see that the compile finish without any error

                                      1. is using the new GStreamer 1.0 which is also found by the configure.. but.. why is finding ALSA now? Where is ALSA??

                                      ..... Realy strange... at least for me...

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

                                        You have both version of GStreamer installed on your sysroot ?

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

                                        A 2 Replies 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
                                          #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

                                          • Login

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