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

FTBFS with -no-compile-examples: qwayland-share-buffer.h:5:10: fatal error: <QByteArray>: No such file or directory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 5.14.2
    • None

    Description

      /builddir/build/BUILD/qtwayland-everywhere-src-5.14.2/examples/wayland/server-buffer/cpp-client/qtwaylandscanner_wrapper.sh client-code ../share-buffer.xml > qwayland-share-buffer.cpp
      g++ -c -O2 -g -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -Wl,-z,now,-z,relro,-z,max-page-size=0x1000,-z,separate-code -Wno-error -ftree-vectorize -ftree-slp-vectorize -Wl,--enable-new-dtags -fcf-protection=return -Wl,--build-id=sha1 -Wa,-mbranches-within-32B-boundaries -m64 -march=westmere -mtune=haswell -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wp,-D_REENTRANT -fno-lto -fno-exceptions -Wall -Wextra -fPIC -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/qwayland-share-buffer.o qwayland-share-buffer.cpp
      In file included from qwayland-share-buffer.cpp:1:
      qwayland-share-buffer.h:5:10: fatal error: QByteArray: No such file or directory
          5 | #include <QByteArray>
            |          ^~~~~~~~~~~~
      

      The option triggers:

      mkspecs/features/qt_example_installs.prf
      !equals(TEMPLATE, subdirs):!compile_examples {
          TEMPLATE = aux
          CONFIG -= have_target qt staticlib dll
          SOURCES =
          OBJECTIVE_SOURCES =
          INSTALLS -= target
      } else {
          CONFIG += relative_qt_rpath  # Examples built as part of Qt should be relocatable
      }
      

      All other examples install fine.

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes