Qt sdk build fails only with static option
brainchild last edited by
As Qt 5.0 binaries are not yet available for Ubuntu x86 64-bit, I am building my own. I recently built the SDK in shared mode without incident. However, when the I attempt to build in static mode (in order to build a statically-linked application), I get the below error. Does anyone know how to resolve it?
/home/epl/dst/qt-everywhere-opensource-src-5.0.0-static/qtbase/lib/libQt5Gui.a(qopenglframebufferobject.o): In function
qt_gl_read_framebuffer(QSize const&, bool, bool)': qopenglframebufferobject.cpp:(.text+0x1ab0): multiple definition ofqt_gl_read_framebuffer(QSize const&, bool, bool)'
/home/epl/dst/qt-everywhere-opensource-src-5.0.0-static/qtbase/lib/libQt5OpenGL.a(qgl.o):qgl.cpp:(.text+0x28d0): first defined here
collect2: ld returned 1 exit status