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

Qt Multimedia has an unnecessary dependency to libwayland-dev when Qt is configured without Wayland.

XMLWordPrintable

    • Linux/X11
    • cf6f639cf0800b1a1eeff815f1df559fcae44190 (qt/qtmultimedia/dev) 2427e284097e2037702421874a71f1fc98666be5 (qt/qtmultimedia/6.2)

      The Qt Multimedia moduleĀ has an unnecessary dependency to libwayland-dev when Qt is configured without Wayland.

      In the fileĀ src/multimedia/platform/gstreamer/common/qgstreamervideosink.cpp

      the guard:

      #if GST_GL_HAVE_WINDOW_WAYLAND

      could be replaced with

      #if GST_GL_HAVE_WINDOW_WAYLAND && __has_include("wayland-client.h")

      To get rid of the dependency.

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

            laknoll Lars Knoll
            tuomas.vaarala Tuomas Vaarala
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes