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

CMake Error if gstreamer_gl_wayland (or gl_x11) feature is enabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.8.0 Beta2
    • Multimedia
    • Linux/Wayland, Linux/X11
    • a6d8e89c2 (dev), 2fc585a51 (6.8), 5fa08f111 (6.7), 48797aebb (tqtc/lts-6.5)
    • Multimedia wk 29-30, Multimedia wk 31-32, Multimedia wk 35-38, Multimedia wk 39-40

    Description

      Noticed that if attempt to manually force-set -DQT_FEATURE_gstreamer_gl_wayland=ON (or x11=ON) using 6.8.0_beta2 that it results in an error about GlWayland or GlX11 not being found (see qtmultimedia.log) despite all the components being present on the system.

      Implies that auto-detection is likely failing as well.

      After inspection, in FindGStreamer.cmake there is:
      DEPENDENCIES GStreamer::Video GStreamer::Base GStreamer::Core GStreamer::Gl XCB::XCB )
      DEPENDENCIES GStreamer::Video GStreamer::Base GStreamer::Core GStreamer::Gl Wayland::Client )

      But there is no qt_find_package statement for xcb nor wayland that I can see, so the condition is likely always false. As a test, removing the last dependency in both allowed it to compile successfully.

      Attachments

        1. qtmultimedia.log
          2 kB
          Ionen Wolkens
        For Gerrit Dashboard: QTBUG-127484
        # Subject Branch Project Status CR V

        Activity

          People

            timblechmann tim blechmann
            ionen Ionen Wolkens
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change