Skip to content

Qt6 multimedia is missing the gstreamer dependencies #129

@drfiemost

Description

@drfiemost

When using Qt 6.2 the multimedia module is considered an addon, it downloads correctly but it doesn't bring the necessary dependencies (the gstreamer libs) causing a build error:

[ 96%] Linking CXX executable musiqt
/usr/bin/ld: warning: libgstpbutils-1.0.so.0, needed by /home/runner/work/musiqt/Qt/6.2.0/gcc_64/lib/libQt6Multimedia.so.6.2.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgstaudio-1.0.so.0, needed by /home/runner/work/musiqt/Qt/6.2.0/gcc_64/lib/libQt6Multimedia.so.6.2.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgstapp-1.0.so.0, needed by /home/runner/work/musiqt/Qt/6.2.0/gcc_64/lib/libQt6Multimedia.so.6.2.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgstallocators-1.0.so.0, needed by /home/runner/work/musiqt/Qt/6.2.0/gcc_64/lib/libQt6Multimedia.so.6.2.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgstgl-1.0.so.0, needed by /home/runner/work/musiqt/Qt/6.2.0/gcc_64/lib/libQt6Multimedia.so.6.2.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libgstvideo-1.0.so.0, needed by /home/runner/work/musiqt/Qt/6.2.0/gcc_64/lib/libQt6Multimedia.so.6.2.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /home/runner/work/musiqt/Qt/6.2.0/gcc_64/lib/libQt6Multimedia.so.6.2.0: undefined reference to `gst_gl_sync_meta_set_sync_point'
[more undefined references follow]

This is the relevant excerpt from the YAML file:

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        qt-version: [5.15.2, 6.2.0]

    steps:
    - uses: jurplel/install-qt-action@v2
      with:
        version: ${{ matrix.qt-version }}
        modules: 'addons.qtmultimedia'

Full logs attached:
logs_217.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions