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

Building qt5.git supermodule with examples requires an active wayland display

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.7.0
    • Build System: CMake
    • None

    Description

      I configure with:

      ../qt5-git/configure -debug -qpa wayland -linker lld -developer-build -make examples  --  -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
      

      Soon I got the error

      FAILED: qtquick3d/tests/baseline/scenegrabber/.ibl/OpenfootageNET_lowerAustria01-1024.ktx /home/builder/developer_build/qtquick3d/tests/baseline/scenegrabber/.ibl/OpenfootageNET_lowerAustria01-1024.ktx 
      cd /home/builder/developer_build/qtquick3d/tests/baseline/scenegrabber && /home/builder/developer_build/qtbase/bin/balsam --no-plugins -o /home/builder/developer_build/qtquick3d/tests/baseline/scenegrabber/.ibl /home/builder/qt5-git/qtquick3d/tests/baseline/data/shared/maps/OpenfootageNET_lowerAustria01-1024.hdr
      error: XDG_RUNTIME_DIR is invalid or not set in the environment.
      Failed to create wl_display (No such file or directory)
      qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
      This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
      
      Available platform plugins are: xcb, wayland, linuxfb, eglfs, minimalegl, vkkhrdisplay, vnc, minimal, offscreen.
      
      Aborted
      

      The build happens on the command line with a restricted user. The above balsam command succeeds if I'm a user logged into the wayland session.

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              jimis Dimitrios Apostolou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes