Recent commit causes Qt3D to fail compilationsø. 30 mars 2014
painting\qglpainter.cpp:2348:29: error: 'class QOpenGLFunctions' has no member named 'glReadPixels'
Thankfully, rolling back to an older commit still works. Just supply the following command after pulling the Qt3D repository:
git checkout d3338a9 -b older_version
This should enable you to compile Qt3D for Qt5.2 and earlier.