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

QtWayland build fails with "qwayland-server-wayland.h: No such file or directory"

    XMLWordPrintable

Details

    • Linux/Wayland, Linux/X11
    • 2aa779e893bd7526c97a1968c6835204e4e985e2

    Description

      Building from sources the build (both opensource and enterprise) fails with:

      09:17:11 g++ -c -include .pch/Qt5Multimedia -pipe -g -Og -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -D_REENTRANT -fPIC -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_MULTIMEDIA_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -D_REENTRANT -I. -I. -Iaudio -Icamera -Icontrols -Iplayback -Iradio -Irecording -Ivideo -I../../include -I/home/qt/RTA/src-5.11/qtbase/include -I../../include/QtMultimedia -I/home/qt/RTA/src-5.11/qtbase/include/QtMultimedia -I../../include/QtMultimedia/5.11.2 -I../../include/QtMultimedia/5.11.2/QtMultimedia -I/home/qt/RTA/src-5.11/qtbase/include/QtMultimedia/5.11.2 -I/home/qt/RTA/src-5.11/qtbase/include/QtMultimedia/5.11.2/QtMultimedia -I/home/qt/RTA/src-5.11/qtbase/include/QtGui/5.11.2 -I/home/qt/RTA/src-5.11/qtbase/include/QtGui/5.11.2/QtGui -I/home/qt/RTA/src-5.11/qtbase/include/QtCore/5.11.2 -I/home/qt/RTA/src-5.11/qtbase/include/QtCore/5.11.2/QtCore -I/home/qt/RTA/src-5.11/qtbase/include/QtNetwork -I/home/qt/RTA/src-5.11/qtbase/include/QtGui -I/home/qt/RTA/src-5.11/qtbase/include/QtCore -I.moc -isystem /usr/include/libdrm -isystem /usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/qt/RTA/src-5.11/qtbase/mkspecs/linux-g++ -o .obj/qmediaencodersettings.o recording/qmediaencodersettings.cpp
      09:17:11 In file included from ../../include/QtWaylandCompositor/5.11.2/QtWaylandCompositor/private/../../../../../src/compositor/compositor_api/qwaylandcompositor_p.h:61:0,
      09:17:11                  from ../../include/QtWaylandCompositor/5.11.2/QtWaylandCompositor/private/qwaylandcompositor_p.h:1,
      09:17:11                  from compositor_api/qwaylandclient.cpp:44:
      09:17:11 /home/qt/RTA/src-5.11/qtbase/include/QtWaylandCompositor/5.11.2/QtWaylandCompositor/private/qwayland-server-wayland.h:1:67: fatal error: ../../../../../src/compositor/qwayland-server-wayland.h: No such file or directory
      09:17:11 compilation terminated.
      09:17:11 Makefile:15211: recipe for target '.obj/qwaylandclient.o' failed
      09:17:11 make[3]: *** [.obj/qwaylandclient.o] Error 1
      09:17:11 make[3]: Leaving directory '/home/qt/RTA/src-5.11/qtwayland/src/compositor'
      09:17:11 Makefile:98: recipe for target 'sub-compositor-make_first' failed
      09:17:11 make[2]: *** [sub-compositor-make_first] Error 2
      09:17:11 make[2]: Leaving directory '/home/qt/RTA/src-5.11/qtwayland/src'
      09:17:11 Makefile:46: recipe for target 'sub-src-make_first' failed
      09:17:11 make[1]: *** [sub-src-make_first] Error 2
      09:17:11 make[1]: Leaving directory '/home/qt/RTA/src-5.11/qtwayland'
      09:17:11 Makefile:510: recipe for target 'module-qtwayland-make_first' failed
      09:17:11 make: *** [module-qtwayland-make_first] Error 2
      09:17:11 make: *** Waiting for unfinished jobs....

       

      Configure options used:

      ./configure -confirm-license -nomake tests -nomake examples -qt-libjpeg -qt-libpng -qt-xcb -qt-pcre -openssl -confirm-license -verbose -debug -no-use-gold-linker -skip qtwebengine -skip qtwebsockets -skip qtwebchannel -skip qtwebview -skip qt3d -commercial -prefix /home/qt/RTA/src-5.11/qtbase

      Building fails with insource, shadow and namespace builds also. Please find attached the configure output and part of the build log.

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              mipohjan Milla Pohjanheimo
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes