Compiling Qt 5.x on CentOS 5.7 64 bit
-
Has anyone managed to compile Qt 5.x (I'm specifically trying 5.3.1, but would prefer 5.4.1 if possible)?
I only need qtbase with opengl desktop support and qtsvg. No webkit or anything fancy. I don't need (or want) xcb.
I managed to get mote of it to compile, but it fails on trying to compile the qoffscreen plugin. If I do a gmake -i -k then it makes all the libraries I need and I can compile and link my app. ldd shows no shared libs are missing. But if I try and run it iI get the error:
QXcbConnection: Failed to initialize XRandr
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled