Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.8.0 Beta
-
None
-
OpenSuse 12.2
-
95b506cccddcb6d3cba05abe59250862b7ea3999
Description
When trying to build Qt 5.8.0 Beta I run into an error when compiling qxcbclipboard.cpp. The reason seems to be a wrong relative path leading to the xcb includes ( -I../../../../3rdparty/xcb/include, should be -I../../../3rdparty ... ).
Configure options are:
configure -silent -opensource -confirm-license -prefix /disk/local/Qt-5.8.0-beta \ -nomake examples \ -nomake tests \ -qt-xcb \ -skip qtwebengine \ -skip qtwebchannel \ -skip qtwebengine \ -skip qtwebsockets \ -skip qtserialport \ -skip qtsensors
I run into:
make[1]: Entering directory '/disk1/qt/qt-everywhere-opensource-src-5.8.0-beta/qtbase/src/plugins/platforms/xcb' g++ -c -pipe -O2 -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -D_REENTRANT -fPIC -DQT_NO_FOREACH -DQT_BUILD_XCB_PLUGIN -DXCB_USE_XLIB -DXCB_USE_XINPUT2 -DXCB_USE_SM -DXCB_USE_RENDER -DDFLT_XKB_CONFIG_ROOT=\"/usr/share/X11/xkb\" -DDEFAULT_XKB_RULES=\"evdev\" -DDEFAULT_XKB_MODEL=\"pc105\" -DDEFAULT_XKB_LAYOUT=\"us\" -DQT_BUILD_XCB_QPA_LIB_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_DEBUG -DQT_SERVICE_SUPPORT_LIB -DQT_THEME_SUPPORT_LIB -DQT_EVENTDISPATCHER_SUPPORT_LIB -DQT_FONTDATABASE_SUPPORT_LIB -DQT_LINUXACCESSIBILITY_SUPPORT_LIB -DQT_ACCESSIBILITY_SUPPORT_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -Igl_integrations -I../../../3rdparty/xkbcommon -I../../../3rdparty/xkbcommon/xkbcommon -I../../../3rdparty/xkbcommon/src -I../../../3rdparty/xkbcommon/src/xkbcomp -I../../../../include -I../../../../include/QtServiceSupport -I../../../../include/QtServiceSupport/5.8.0 -I../../../../include/QtServiceSupport/5.8.0/QtServiceSupport -I../../../../include/QtThemeSupport -I../../../../include/QtThemeSupport/5.8.0 -I../../../../include/QtThemeSupport/5.8.0/QtThemeSupport -I../../../../include/QtEventDispatcherSupport -I../../../../include/QtEventDispatcherSupport/5.8.0 -I../../../../include/QtEventDispatcherSupport/5.8.0/QtEventDispatcherSupport -I../../../../include/QtFontDatabaseSupport -I../../../../include/QtFontDatabaseSupport/5.8.0 -I../../../../include/QtFontDatabaseSupport/5.8.0/QtFontDatabaseSupport -I../../../../include/QtLinuxAccessibilitySupport -I../../../../include/QtLinuxAccessibilitySupport/5.8.0 -I../../../../include/QtLinuxAccessibilitySupport/5.8.0/QtLinuxAccessibilitySupport -I../../../../include/QtAccessibilitySupport -I../../../../include/QtAccessibilitySupport/5.8.0 -I../../../../include/QtAccessibilitySupport/5.8.0/QtAccessibilitySupport -I../../../../include/QtGui/5.8.0 -I../../../../include/QtGui/5.8.0/QtGui -I../../../../include/QtGui -I../../../../include/QtCore/5.8.0 -I../../../../include/QtCore/5.8.0/QtCore -I../../../../include/QtDBus -I../../../../include/QtCore -I.moc -isystem /usr/include/libdrm -I../../../../3rdparty/xcb/include -I../../../../3rdparty/xcb/sysinclude -isystem /usr/include/freetype2 -isystem /usr/include/freetype2 -I../../../../mkspecs/linux-g++ -o .obj/qxcbclipboard.o qxcbclipboard.cpp qxcbclipboard.cpp:52:27: fatal error: xcb/xcb_icccm.h: No such file or directory #include <xcb/xcb_icccm.h>
Attachments
Issue Links
- is duplicated by
-
QTBUG-57077 Build issue when cross-compiling Qt with bundled xcb
-
- Closed
-
For Gerrit Dashboard: QTBUG-56934 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
175977,2 | fix build with -qt-xcb | 5.8 | qt/qtbase | Status: MERGED | +2 | 0 |