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

Add qtbase/gui configure test/feature for wayland libs

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.7.0 FF
    • None
    • Build System: CMake
    • None
    • a2ff329d2 (dev), fef1539e3 (dev), 9c1bca42d (6.7)

    Description

      Similar to xcb, it would be useful to have a configure test in qtbase/gui that checks if we have the required wayland libraries and exposes that as a (private) feature. E.g.

      qt_feature("wayland" PRIVATE
          LABEL "Wayland libraries"
          PURPOSE "Indicates whether the Wayland libraries are available"
          CONDITION  TEST_wayland_libs
      )

      That way we can condition wayland specifics in qtbase to CONFIG(wayland), rather than the way to general Q_OS_UNIX, e.g:

      #if defined(Q_OS_UNIX)
      struct Q_GUI_EXPORT QWaylandWindow : public QObject

      Attachments

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

        Activity

          People

            davidedmundson David Edmundson
            vestbo Tor Arne Vestbø
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes