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

QtWayland does not compile from source tarballs because generated protocol headers are not on the include path

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.7.0 RC, 5.7.0
    • Fix Version/s: 5.7.1
    • Component/s: QPA: Wayland
    • Labels:
      None
    • Environment:
      Arch Linux 4.6.1-2
      gcc 6.1.1

      Description

      seems like the header file QtWaylandCompositor/private/qwayland-server-text-input-unstable-v2.h is not distributed with the source package.

      the log is attached below.

      cd qtwayland/ && ( test -e Makefile || /home/fs/build-qt57-s/qtbase/bin/qmake /home/fs/qt-everywhere-opensource-src-5.7.0-rc/qtwayland/qtwayland.pro -qtconf /home/fs/build-qt57-s/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile
      make[1]: Entering directory '/home/fs/build-qt57-s/qtwayland'
      cd src/ && ( test -e Makefile || /home/fs/build-qt57-s/qtbase/bin/qmake /home/fs/qt-everywhere-opensource-src-5.7.0-rc/qtwayland/src/src.pro -qtconf /home/fs/build-qt57-s/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile
      make[2]: Entering directory '/home/fs/build-qt57-s/qtwayland/src'
      cd qtwaylandscanner/ && ( test -e Makefile || /home/fs/build-qt57-s/qtbase/bin/qmake /home/fs/qt-everywhere-opensource-src-5.7.0-rc/qtwayland/src/qtwaylandscanner/qtwaylandscanner.pro -qtconf /home/fs/build-qt57-s/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile
      make[3]: Entering directory '/home/fs/build-qt57-s/qtwayland/src/qtwaylandscanner'
      make[3]: Nothing to be done for 'first'.
      make[3]: Leaving directory '/home/fs/build-qt57-s/qtwayland/src/qtwaylandscanner'
      cd compositor/ && ( test -e Makefile || /home/fs/build-qt57-s/qtbase/bin/qmake /home/fs/qt-everywhere-opensource-src-5.7.0-rc/qtwayland/src/compositor/compositor.pro -qtconf /home/fs/build-qt57-s/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile
      make[3]: Entering directory '/home/fs/build-qt57-s/qtwayland/src/compositor'
      compiling /home/fs/qt-everywhere-opensource-src-5.7.0-rc/qtwayland/src/shared/qwaylandinputmethodeventbuilder.cpp
      /home/fs/qt-everywhere-opensource-src-5.7.0-rc/qtwayland/src/shared/qwaylandinputmethodeventbuilder.cpp:46:80: fatal error: QtWaylandCompositor/private/qwayland-server-text-input-unstable-v2.h: No such file or directory
      #include <QtWaylandCompositor/private/qwayland-server-text-input-unstable-v2.h>
      ^
      compilation terminated.
      Makefile:8042: recipe for target '.obj/qwaylandinputmethodeventbuilder.o' failed
      make[3]: *** [.obj/qwaylandinputmethodeventbuilder.o] Error 1
      make[3]: Leaving directory '/home/fs/build-qt57-s/qtwayland/src/compositor'
      Makefile:71: recipe for target 'sub-compositor-make_first' failed
      make[2]: *** [sub-compositor-make_first] Error 2
      make[2]: Leaving directory '/home/fs/build-qt57-s/qtwayland/src'
      Makefile:44: recipe for target 'sub-src-make_first' failed
      make[1]: *** [sub-src-make_first] Error 2

        Attachments

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

          Activity

            People

            • Assignee:
              johanhelsing Johan Helsing
              Reporter:
              fsu0413 Frank Su
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes