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

Cannot compile qtwayland from source on linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.9.1
    • 5.9.0
    • QPA: Wayland
    • None

    Description

      QWayland 5.9.0 from git sources cannot be compiled on linux.

       

      There is an error during compilation of qtwayland/src/hardwareintegration/compositor/libhybris-egl-server/libhybriseglserverbufferintegration.cpp
      in function

      void LibHybrisEglServerBufferIntegration::initializeHardware(QWaylandCompositor *compositor)

      line 175:

      QtWaylandServer::qt_libhybris_egl_server_buffer::init(compositor->waylandDisplay(), 1);
      

      Error

      'class QWaylandCompositor’ has no member named ‘waylandDisplay’
      

       

      Assuming QWaylandCompositor is defined here qtwayland/src/compositor/compositor_api/qwaylandcompositor.h
      There is indeed no member waylandDisplay() but there is a member display() with type ::wl_display

      It seems to have been changed 7 months ago in the following commit.

      2333c58 - Use the feature system internally.
       - ::wl_display *waylandDisplay() const;
       + ::wl_display *display() const; 

      If you change the source to

      QtWaylandServer::qt_libhybris_egl_server_buffer::init(compositor->display(), 1);

      It compile again.

       

      Attachments

        For Gerrit Dashboard: QTBUG-61183
        # Subject Branch Project Status CR V

        Activity

          People

            johanhelsing Johan Helsing
            julien Julien Bordes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes