Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.11.2, 5.12.0 Beta 3
-
None
-
-
7dd26dd9c760cbc4c8078948b32811ac4ac20a8d (qt/qtx11extras/5.11)
Description
I have put my xcb at an uncommon location so one needs to ask pkg-config where to find it:
{shell}pkg-config --cflags xcb
-I/opt/emlix/test/sysroot/usr/include/strange/xcb{shell}
When I now build X11Extras compilation fail:
/opt/emlix/test/bin/arm-unknown-linux-gnueabi-g++ -c -pipe -O2 -g -march=armv7-a -mtune=cortex-a9 -mfpu=neon-fp16 -mfloat-abi=softfp -pipe -Wl,--no-copy-dt-needed-entries,--as-needed -Wl,--build-id -Wdate-time --sysroot=/opt/emlix/test/sysroot -O2 -std=c+ +1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -D_REENTRANT -fPIC -DQT_NO_FOREACH -DQT_NO_USING_NAMESPACE -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_ BUILD_X11EXTRAS_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_NO_DE BUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/tmp/e2/build/qt-everywhere-src-5.11.2/qtx11extras/src/x11extras -I. -I/tmp/e2/build/qt-everywhere-src-5.11.2/qtx11extras/include -I/tmp/e2/build/qt-everywhere-src-5.11.2/qtx11extras/include/QtX11Extr as -I../../include -I../../include/QtX11Extras -I/tmp/e2/build/qt-everywhere-src-5.11.2/qtx11extras/include/QtX11Extras/5.11.2 -I/tmp/e2/build/qt-everywhere-src-5.11.2/qtx11extras/include/QtX11Extras/5.11.2/QtX11Extras -I/tmp/e2/build/qt-everywhere-src-5.11.2/ qtbase/include -I/tmp/e2/build/qt-everywhere-src-5.11.2/qtbase/include/QtGui -I/tmp/e2/build/build/qtbase/include -I/tmp/e2/build/build/qtbase/include/QtGui -I/tmp/e2/build/qt-everywhere-src-5.11.2/qtbase/include/QtCore -I/tmp/e2/build/build/qtbase/include/QtC ore -I/tmp/e2/build/qt-everywhere-src-5.11.2/qtbase/include/QtGui/5.11.2 -I/tmp/e2/build/qt-everywhere-src-5.11.2/qtbase/include/QtGui/5.11.2/QtGui -I/tmp/e2/build/build/qtbase/include/QtGui/5.11.2 -I/tmp/e2/build/build/qtbase/include/QtGui/5.11.2/QtGui -I/tmp /e2/build/qt-everywhere-src-5.11.2/qtbase/include/QtCore/5.11.2 -I/tmp/e2/build/qt-everywhere-src-5.11.2/qtbase/include/QtCore/5.11.2/QtCore -I/tmp/e2/build/build/qtbase/include/QtCore/5.11.2 -I/tmp/e2/build/build/qtbase/include/QtCore/5.11.2/QtCore -I.moc -I/ tmp/e2/build/qt-everywhere-src-5.11.2/qtbase/mkspecs/devices/linux-master-g++ -o .obj/qx11info_x11.o /tmp/e2/build/qt-everywhere-src-5.11.2/qtx11extras/src/x11extras/qx11info_x11.cpp In file included from /tmp/e2/build/qt-everywhere-src-5.11.2/qtx11extras/src/x11extras/qx11info_x11.cpp:48: /tmp/e2/build/qt-everywhere-src-5.11.2/qtx11extras/src/x11extras/qx11info_x11.h:46:10: fatal error: xcb/xcb.h: No such file or directory #include <xcb/xcb.h> ^~~~~~~~~~~ compilation terminated.
The config log shows that the pkg-config file is actually inspected.