Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.13.0 Beta 1
-
None
-
-
54ceb8a5f86465dcde334973dedf401b31210e63 (qt/qtbase/dev)
Description
paeglis, change https://codereview.qt-project.org/#/c/253904/3 broke the build on Vanilla Xubuntu 16.04 amd64:
g++ -m64 -Wl,--no-undefined -fuse-ld=gold -Wl,--enable-new-dtags -Wl,--gdb-index -Wl,-rpath,/home/rw/projects/qt/build/qtbase/lib -shared -o libqoffscreen.so .obj/main.o .obj/qoffscreenintegration.o .obj/qoffscreenwindow.o .obj/qoffscreencommon.o .obj/qoffscreenintegration_x11.o -L/usr/X11R6/lib64 -L/home/rw/projects/qt/build/qtbase/lib -lQt5EventDispatcherSupport -lQt5FontDatabaseSupport -lfontconfig -lfreetype -lz -lQt5GlxSupport -lQt5Gui -lQt5Core -lGL -lpthread /home/rw/projects/qt/qt5/qtbase/src/plugins/platforms/offscreen/qoffscreenintegration_x11.cpp:171: error: undefined reference to 'XCreateColormap' /home/rw/projects/qt/qt5/qtbase/src/plugins/platforms/offscreen/qoffscreenintegration_x11.cpp:181: error: undefined reference to 'XCreateWindow' /home/rw/projects/qt/qt5/qtbase/src/plugins/platforms/offscreen/qoffscreenintegration_x11.cpp:182: error: undefined reference to 'XFreeColormap' /home/rw/projects/qt/qt5/qtbase/src/plugins/platforms/offscreen/qoffscreenintegration_x11.cpp:192: error: undefined reference to 'XFree' /home/rw/projects/qt/qt5/qtbase/src/plugins/platforms/offscreen/qoffscreenintegration_x11.cpp:252: error: undefined reference to 'XDestroyWindow' /home/rw/projects/qt/qt5/qtbase/src/plugins/platforms/offscreen/qoffscreenintegration_x11.cpp:259: error: undefined reference to 'XResizeWindow' /home/rw/projects/qt/qt5/qtbase/src/plugins/platforms/offscreen/qoffscreenintegration_x11.cpp:260: error: undefined reference to 'XSync' /home/rw/projects/qt/qt5/qtbase/src/plugins/platforms/offscreen/qoffscreenintegration_x11.cpp:137: error: undefined reference to 'XInitThreads' /home/rw/projects/qt/qt5/qtbase/src/plugins/platforms/offscreen/qoffscreenintegration_x11.cpp:140: error: undefined reference to 'XOpenDisplay' /home/rw/projects/qt/qt5/qtbase/src/plugins/platforms/offscreen/qoffscreenintegration_x11.cpp:148: error: undefined reference to 'XCloseDisplay' /home/rw/projects/qt/qt5/qtbase/src/plugins/platforms/offscreen/qoffscreenintegration_x11.cpp:242: error: undefined reference to 'XFree' /home/rw/projects/qt/qt5/qtbase/src/platformsupport/glxconvenience/qglxconvenience.cpp:181: error: undefined reference to 'XFree' /home/rw/projects/qt/qt5/qtbase/src/platformsupport/glxconvenience/qglxconvenience.cpp:181: error: undefined reference to 'XFree' collect2: error: ld returned 1 exit status Makefile:128: recipe for target '../../../../plugins/platforms/libqoffscreen.so' failed
The search path -L/usr/X11R6/lib64 does not exist. When reverting, qtbase is built successfully. My configure command line:
-developer-build -opensource -nomake examples -confirm-license -platform linux-g++-64 -skip qtactiveqt -skip qt3d -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmultimedia -skip qtquickcontrols -skip qtquickcontrols2 -skip qtpurchasing -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtspeech -skip qtsvg -skip qtwayland -skip qtvirtualkeyboard -skip qtwebchannel -skip qtwebengine -skip qtwebview -use-gold-linker
I have absolutely no clue about platform plugins and libxcb, but it looks like libxcb is required for the offscreen plugin or do I miss a configure flag?
Attachments
For Gerrit Dashboard: QTBUG-75045 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
259026,3 | qglxconvenience: use QMAKE_USE instead of QMAKE_USE_PRIVATE | 5.13 | qt/qtbase | Status: MERGED | +2 | 0 |