Compiling Qt 5.7.0 fails on CentOS 7
Unsolved
Installation and Deployment
-
I've been trying to build Qt on my CentOS 7 system, but the build keeps failing and Google actually turns up nobody with my problem, which is a first for me. Here is my configure:
configure -developer-build -opensource -nomake examples -nomake tests -confirm-license -optimized-qmake -no-gtk -skip qtwebengine
Then I just type:
make -j4
And that gives me this result:
.obj/qxcbdrag.o:qxcbdrag.cpp:function vtable for QXcbDrag: error: undefined reference to 'QBasicDrag::cancelDrag()' /home/jgill/qt5.7.0/5.7/Src/qtbase/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp:321: error: undefined reference to 'QWindowSystemInterfacePrivate::TabletEvent::setPlatformSynthesizesMouse(bool)' /home/jgill/qt5.7.0/5.7/Src/qtbase/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp:959: error: undefined reference to 'QWindowSystemInterface::handleWheelEvent(QWindow*, unsigned long, QPointF const&, QPointF const&, QPoint, QPoint, QFlags<Qt::KeyboardModifier>, Qt::ScrollPhase, Qt::MouseEventSource, bool)' /home/jgill/qt5.7.0/5.7/Src/qtbase/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp:984: error: undefined reference to 'QWindowSystemInterface::handleWheelEvent(QWindow*, unsigned long, QPointF const&, QPointF const&, QPoint, QPoint, QFlags<Qt::KeyboardModifier>, Qt::ScrollPhase, Qt::MouseEventSource, bool)' collect2: error: ld returned 1 exit status make[5]: *** [../../../../lib/libQt5XcbQpa.so.5.7.0] Error 1 make[5]: Leaving directory `/home/jgill/qt5.7.0/myinstall/src/plugins/platforms/xcb' make[4]: *** [sub-xcb_qpa_lib-pro-make_first-ordered] Error 2 make[4]: Leaving directory `/home/jgill/qt5.7.0/myinstall/src/plugins/platforms/xcb' make[3]: *** [sub-xcb-make_first] Error 2 make[3]: Leaving directory `/home/jgill/qt5.7.0/myinstall/src/plugins/platforms' make[2]: *** [sub-platforms-make_first] Error 2 make[2]: Leaving directory `/home/jgill/qt5.7.0/myinstall/src/plugins' make[1]: *** [sub-plugins-make_first] Error 2 make[1]: Leaving directory `/home/jgill/qt5.7.0/myinstall/src' make: *** [sub-src-make_first] Error 2
Am I missing a system library or something?