Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-136898

[Debian] examples not compiling due missing gstreamerplugin, jammy amd64

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.3, 6.9.1
    • Packaging: Debian
    • Ubuntu22.04 x64

    Description

      On Ubuntu22.04 x64 install Qt debian packages.

      [arch=amd64 signed-by=/etc/apt/keyrings/qt-company-debian-repo.gpg] https://qt-debian-proxy-staging.herokuapp.com/debian/enterprise/qt-6.9.1-amd64 tqtc-jammy main

       

      Configure example that has Multimedia dependency, e.g. speech/quickspeech

      /opt/qt-6.9.1/x86_64-linux-gnu/bin/qt-cmake -S /home/qt/RTA/Qt_6.9.1/Examples/Qt-6.9.1/speech/quickspeech -B /home/qt/RTA/Qt_6.9.1/Examples/Qt-6.9.1/speech/quickspeech/bld_gcc_64 -GNinja

      -> fails:

      -- The CXX compiler identification is GNU 11.4.0
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
      -- Found Threads: TRUE
      -- Performing Test HAVE_STDATOMIC
      -- Performing Test HAVE_STDATOMIC - Success
      -- Found WrapAtomic: TRUE
      -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
      -- Found WrapOpenGL: TRUE
      -- Found WrapVulkanHeaders: /usr/include
      CMake Error at /opt/qt-6.9.1/x86_64-linux-gnu/lib/cmake/Qt6Multimedia/Qt6QGstreamerMediaPluginTargets.cmake:96 (message):
        The imported target "Qt6::QGstreamerMediaPlugin" references the file     "/opt/qt-6.9.1/x86_64-linux-gnu/plugins/multimedia/libgstreamermediaplugin.so"  but this file does not exist.  Possible reasons include:  * The file was deleted, renamed, or moved to another location.  * An install or uninstall procedure did not complete successfully.  * The installation package was faulty and contained     "/opt/qt-6.9.1/x86_64-linux-gnu/lib/cmake/Qt6Multimedia/Qt6QGstreamerMediaPluginTargets.cmake"  but not all the files it references.Call Stack (most recent call first):
        /opt/qt-6.9.1/x86_64-linux-gnu/lib/cmake/Qt6Multimedia/Qt6QGstreamerMediaPluginConfig.cmake:61 (include)
        /opt/qt-6.9.1/x86_64-linux-gnu/lib/cmake/Qt6/QtPublicPluginHelpers.cmake:557 (include)
        /opt/qt-6.9.1/x86_64-linux-gnu/lib/cmake/Qt6Multimedia/Qt6MultimediaPlugins.cmake:13 (__qt_internal_include_plugin_packages)
        /opt/qt-6.9.1/x86_64-linux-gnu/lib/cmake/Qt6Multimedia/Qt6MultimediaConfig.cmake:201 (include)
        /home/qt/RTA/Qt_6.9.1/Tools/CMake/share/cmake-3.30/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
        /opt/qt-6.9.1/x86_64-linux-gnu/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:137 (find_dependency)
        /opt/qt-6.9.1/x86_64-linux-gnu/lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechDependencies.cmake:45 (_qt_internal_find_qt_dependencies)
        /opt/qt-6.9.1/x86_64-linux-gnu/lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechConfig.cmake:43 (include)
        /opt/qt-6.9.1/x86_64-linux-gnu/lib/cmake/Qt6/Qt6Config.cmake:218 (find_package)
        CMakeLists.txt:15 (find_package)
      CMake Warning at /opt/qt-6.9.1/x86_64-linux-gnu/lib/cmake/Qt6/Qt6Config.cmake:218 (find_package):
        Found package configuration file:    /opt/qt-6.9.1/x86_64-linux-gnu/lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechConfig.cmake  but it set Qt6TextToSpeech_FOUND to FALSE so package "Qt6TextToSpeech" is
        considered to be NOT FOUND.
      Call Stack (most recent call first):
        CMakeLists.txt:15 (find_package) 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            falt Simo Fält
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes