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

QtWayland can not be built with QT_NO_OPENGL (-no-opengl)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.8.0
    • 5.8.0 Alpha
    • QPA: Wayland
    • None
    • Linux

    Description

      It should be possible to build Qt Wayland when Qt is built without OpenGL support, however it is not presently. What should happen is that all the hardware integration tests should fail, and there should be a check to see if the QT_CONFIG qmake variable contains "opengl" when it doesn't it should make sure that QT_WAYLAND_GL_SUPPORT and QT_WAYLAND_GL_SUPPORT do not get set. Instead it just checks makes checks like:

      !equals(QT_WAYLAND_GL_CONFIG, nogl) {
          DEFINES += QT_WAYLAND_GL_SUPPORT
      }
      

      Where QT_WAYLAND_GL_CONFIG is never defined unless set through an environment variable.

      So to reproduce just try building the qtwayland module with a qt build using the configure argument "-no-opengl".

      Attachments

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

        Activity

          People

            johanhelsing Johan Helsing
            janichol Andy Nichols
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes