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.