Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Reinstall Qt5 with QtMultimedia using Ubuntu Mate
Forum Update on Monday, May 27th 2025

Reinstall Qt5 with QtMultimedia using Ubuntu Mate

Scheduled Pinned Locked Moved Unsolved General and Desktop
moduleinstall
44 Posts 4 Posters 22.6k Views
  • 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

    I meant that part:

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

    The only thing detected is Video for Linux. As I wrote before, you should at least install the GStreamer1.0 related dev-packages

    X Offline
    X Offline
    Xenoshell
    wrote on last edited by
    #9

    @SGaist yeah well i already deinstalled qt5, but now how do i install qtmultimedia? I know i have to install it but how do i get the other parts too?

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

      Use the package manager of your Linux distribution to install the development packages.

      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
      • X Offline
        X Offline
        Xenoshell
        wrote on last edited by Xenoshell
        #11

        @SGaist Isnt it possible to give a command so that qtmultimedia gets installed with qtcore and qtgui too? I really want to install from source and not from a repository.

        EDIT: ok i have this whole folder with many qtpackages. There is also qtmultimedia. Do i just have to switch into this folder and hit make and make install ?

        EDIT2: Ok i found the commands... just use ./configure -h and you will see all commands to configure the setup

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

          Build Qt from the top source folder so all modules will be built, you can limit to the ones you want by either passing the -skip parameters for all the modules you don't want, or just delete the corresponding folders.

          However, for the dependencies of QtMultimedia, either you install them using the package manager or your build and install them all by hand before building Qt.

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

          X 1 Reply Last reply
          0
          • SGaistS SGaist

            Build Qt from the top source folder so all modules will be built, you can limit to the ones you want by either passing the -skip parameters for all the modules you don't want, or just delete the corresponding folders.

            However, for the dependencies of QtMultimedia, either you install them using the package manager or your build and install them all by hand before building Qt.

            X Offline
            X Offline
            Xenoshell
            wrote on last edited by
            #13

            @SGaist Well ok i found with ./configure -help all the commands i wanted. Sadly i get a error:

            ERROR: Feature 'alsa' was enabled, but the pre-condition 'config.unix && !config.qnx && libs.alsa' failed.
            
            ERROR: Feature 'gstreamer' was enabled, but the pre-condition 'features.gstreamer_1_0 || features.gstreamer_0_10' failed.
            
            ERROR: Feature 'pulseaudio' was enabled, but the pre-condition 'libs.pulseaudio' failed.
            
            ERROR: Feature 'alsa' was enabled, but the pre-condition 'config.unix && libs.alsa' failed.
            
            ERROR: Feature 'pulseaudio' was enabled, but the pre-condition 'libs.pulseaudio' failed.
            
            ERROR: Feature 'system-ffmpeg' was enabled, but the pre-condition 'libs.ffmpeg && features.system-opus && features.system-webp' failed.
            

            Seems like not everything i wanted got downloaded. What can i do to fix that?

            jsulmJ 1 Reply Last reply
            0
            • X Xenoshell

              @SGaist Well ok i found with ./configure -help all the commands i wanted. Sadly i get a error:

              ERROR: Feature 'alsa' was enabled, but the pre-condition 'config.unix && !config.qnx && libs.alsa' failed.
              
              ERROR: Feature 'gstreamer' was enabled, but the pre-condition 'features.gstreamer_1_0 || features.gstreamer_0_10' failed.
              
              ERROR: Feature 'pulseaudio' was enabled, but the pre-condition 'libs.pulseaudio' failed.
              
              ERROR: Feature 'alsa' was enabled, but the pre-condition 'config.unix && libs.alsa' failed.
              
              ERROR: Feature 'pulseaudio' was enabled, but the pre-condition 'libs.pulseaudio' failed.
              
              ERROR: Feature 'system-ffmpeg' was enabled, but the pre-condition 'libs.ffmpeg && features.system-opus && features.system-webp' failed.
              

              Seems like not everything i wanted got downloaded. What can i do to fix that?

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #14

              @Xenoshell That's what @SGaist is trying to tell you: you need to install dev packages for all multimedia components you would like to use with QtMultimedia.

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

              X 1 Reply Last reply
              0
              • jsulmJ jsulm

                @Xenoshell That's what @SGaist is trying to tell you: you need to install dev packages for all multimedia components you would like to use with QtMultimedia.

                X Offline
                X Offline
                Xenoshell
                wrote on last edited by
                #15

                @jsulm yeah ok.. thanks, i am going a little bit mental here. I thought i already installed gstreamer. Thats why i was confused. I think i know now what to do

                jsulmJ 1 Reply Last reply
                0
                • X Xenoshell

                  @jsulm yeah ok.. thanks, i am going a little bit mental here. I thought i already installed gstreamer. Thats why i was confused. I think i know now what to do

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #16

                  @Xenoshell You installed GStreamer but not its development packages (which for example contain the header files). You need to install the dev packages as well.

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

                  X 1 Reply Last reply
                  1
                  • jsulmJ jsulm

                    @Xenoshell You installed GStreamer but not its development packages (which for example contain the header files). You need to install the dev packages as well.

                    X Offline
                    X Offline
                    Xenoshell
                    wrote on last edited by
                    #17

                    @jsulm
                    I installed alsa, dbus, gstreamer, ffmpeg but they still show up as errors. What can i do?

                    ERROR: Feature 'dbus-linked' was enabled, but the pre-condition 'features.dbus && libs.dbus' failed.
                    
                    ERROR: Feature 'alsa' was enabled, but the pre-condition 'config.unix && !config.qnx && libs.alsa' failed.
                    
                    ERROR: Feature 'gstreamer_1_0' was enabled, but the pre-condition 'libs.gstreamer_1_0' failed.
                    
                    ERROR: Feature 'alsa' was enabled, but the pre-condition 'config.unix && libs.alsa' failed.
                    
                    ERROR: Feature 'system-ffmpeg' was enabled, but the pre-condition 'libs.ffmpeg && features.system-opus && features.system-webp' failed.
                    
                    
                    jsulmJ 1 Reply Last reply
                    0
                    • X Xenoshell

                      @jsulm
                      I installed alsa, dbus, gstreamer, ffmpeg but they still show up as errors. What can i do?

                      ERROR: Feature 'dbus-linked' was enabled, but the pre-condition 'features.dbus && libs.dbus' failed.
                      
                      ERROR: Feature 'alsa' was enabled, but the pre-condition 'config.unix && !config.qnx && libs.alsa' failed.
                      
                      ERROR: Feature 'gstreamer_1_0' was enabled, but the pre-condition 'libs.gstreamer_1_0' failed.
                      
                      ERROR: Feature 'alsa' was enabled, but the pre-condition 'config.unix && libs.alsa' failed.
                      
                      ERROR: Feature 'system-ffmpeg' was enabled, but the pre-condition 'libs.ffmpeg && features.system-opus && features.system-webp' failed.
                      
                      
                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #18

                      @Xenoshell What exactly did you install? You need *-dev packages.

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

                      X 1 Reply Last reply
                      1
                      • jsulmJ jsulm

                        @Xenoshell What exactly did you install? You need *-dev packages.

                        X Offline
                        X Offline
                        Xenoshell
                        wrote on last edited by
                        #19

                        @jsulm i didnt found any -dev packages. I just searched google for packages to those features that create errors and installed those but didnt saw any -dev packages

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

                          https://packages.ubuntu.com/artful/libgstreamer1.0-dev

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

                          X 1 Reply Last reply
                          0
                          • SGaistS SGaist

                            https://packages.ubuntu.com/artful/libgstreamer1.0-dev

                            X Offline
                            X Offline
                            Xenoshell
                            wrote on last edited by
                            #21

                            @SGaist ok thanks, i found all -dev packages for all the errors exept ffmpeg and dbus-linked.
                            ./configure output is now:

                            Note: Also available for Linux: linux-clang linux-icc
                            
                            Note: Dropped compiler flags '-pthread' when detecting library 'glib'.
                            
                            Note: Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing.
                            
                            Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer'.
                            
                            Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer_app'.
                            
                            ERROR: Feature 'dbus-linked' was enabled, but the pre-condition 'features.dbus && libs.dbus' failed.
                            
                            ERROR: Feature 'system-ffmpeg' was enabled, but the pre-condition 'libs.ffmpeg && features.system-opus && features.system-webp' failed.
                            
                            Check config.log for details.
                            

                            Do i actually need ffmpeg for qtMultimedia? Since it is a videoplayer i guess yes. I think i have to install this from source to and that could be a real pain..

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

                              You can install libavcodec-dev and friends for ffmpeg inclusion.

                              As for dbus, the dbus dev package.

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

                              X 1 Reply Last reply
                              1
                              • X Xenoshell

                                @SGaist ok thanks, i found all -dev packages for all the errors exept ffmpeg and dbus-linked.
                                ./configure output is now:

                                Note: Also available for Linux: linux-clang linux-icc
                                
                                Note: Dropped compiler flags '-pthread' when detecting library 'glib'.
                                
                                Note: Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing.
                                
                                Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer'.
                                
                                Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer_app'.
                                
                                ERROR: Feature 'dbus-linked' was enabled, but the pre-condition 'features.dbus && libs.dbus' failed.
                                
                                ERROR: Feature 'system-ffmpeg' was enabled, but the pre-condition 'libs.ffmpeg && features.system-opus && features.system-webp' failed.
                                
                                Check config.log for details.
                                

                                Do i actually need ffmpeg for qtMultimedia? Since it is a videoplayer i guess yes. I think i have to install this from source to and that could be a real pain..

                                jsulmJ Offline
                                jsulmJ Offline
                                jsulm
                                Lifetime Qt Champion
                                wrote on last edited by
                                #23

                                @Xenoshell Why do you want to install ffmpeg from source? Install libavcodec-dev package from your Linux distribution.

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

                                1 Reply Last reply
                                1
                                • SGaistS SGaist

                                  You can install libavcodec-dev and friends for ffmpeg inclusion.

                                  As for dbus, the dbus dev package.

                                  X Offline
                                  X Offline
                                  Xenoshell
                                  wrote on last edited by Xenoshell
                                  #24

                                  @SGaist i installed your suggested packages and now output is:

                                  Note: Also available for Linux: linux-clang linux-icc
                                  
                                  Note: Dropped compiler flags '-pthread' when detecting library 'glib'.
                                  
                                  Note: Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing.
                                  
                                  Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer'.
                                  
                                  Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer_app'.
                                  
                                  ERROR: Feature 'system-ffmpeg' was enabled, but the pre-condition 'libs.ffmpeg && features.system-opus && features.system-webp' failed.
                                  
                                  

                                  @Jsulm i dont want to install ffmpeg from source. I just installed already the package and the error still occurs and i just googled the problem and the solution was to install from source

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

                                    Check the logs for the related errors. You can also use the -v option to get a more verbose output of the configuration process.

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

                                    X 1 Reply Last reply
                                    1
                                    • SGaistS SGaist

                                      Check the logs for the related errors. You can also use the -v option to get a more verbose output of the configuration process.

                                      X Offline
                                      X Offline
                                      Xenoshell
                                      wrote on last edited by
                                      #26

                                      @SGaist I think i found the relevant piece of information in config.log

                                      looking for library ffmpeg
                                      Trying source 0 (type pkgConfig) of library ffmpeg ...
                                      + /usr/bin/pkg-config --exists --silence-errors libavcodec libavformat libavutil
                                      pkg-config did not find package.
                                        => source produced no result.
                                      test config.qtwebengine.libraries.ffmpeg FAILED
                                      executing config test ninja
                                      Building own ninja
                                      test config.qtwebengine.tests.ninja FAILED
                                      looking for library opus
                                      Trying source 0 (type pkgConfig) of library opus ...
                                      + /usr/bin/pkg-config --exists --silence-errors opus
                                      pkg-config did not find package.
                                        => source produced no result.
                                      test config.qtwebengine.libraries.opus FAILED
                                      executing config test re2
                                      + cd /home/blz/Downloads/qt-everywhere-opensource-src-5.9.3/config.tests/re2 && /home/blz/Downloads/qt-everywhere-opensource-src-5.9.3/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" /home/blz/Downloads/qt-everywhere-opensource-src-5.9.3/qtwebengine/config.tests/re2
                                      + cd /home/blz/Downloads/qt-everywhere-opensource-src-5.9.3/config.tests/re2 && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
                                      > rm -f re2.o
                                      > rm -f *~ core *.core
                                      > g++ -c -pipe -O2 -std=gnu++11 -w -fPIC  -I/home/blz/Downloads/qt-everywhere-opensource-src-5.9.3/qtwebengine/config.tests/re2 -I. -I/home/blz/Downloads/qt-everywhere-opensource-src-5.9.3/qtbase/mkspecs/linux-g++ -o re2.o /home/blz/Downloads/qt-everywhere-opensource-src-5.9.3/qtwebengine/config.tests/re2/re2.cpp
                                      > /home/blz/Downloads/qt-everywhere-opensource-src-5.9.3/qtwebengine/config.tests/re2/re2.cpp:29:21: fatal error: re2/re2.h: No such file or directory
                                      > compilation terminated.
                                      > Makefile:1021: recipe for target 're2.o' failed
                                      > make: *** [re2.o] Error 1
                                      test config.qtwebengine.tests.re2 FAILED
                                      looking for library webp
                                      Trying source 0 (type pkgConfig) of library webp ...
                                      + /usr/bin/pkg-config --exists --silence-errors libwebp libwebpdemux
                                      pkg-config did not find package.
                                        => source produced no result.
                                      test config.qtwebengine.libraries.webp FAILED
                                      
                                      1 Reply Last reply
                                      0
                                      • SGaistS Offline
                                        SGaistS Offline
                                        SGaist
                                        Lifetime Qt Champion
                                        wrote on last edited by
                                        #27

                                        Install the libavformat and libavutil dev packages. Same goes for opus.

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

                                        X 1 Reply Last reply
                                        0
                                        • X Offline
                                          X Offline
                                          Xenoshell
                                          wrote on last edited by Xenoshell
                                          #28

                                          @SGaist no error anymore. Thanks for you help. I am gonna mark this solved after i ran make and make install

                                          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