Qt 5.2 can no longer be build with desktop openGL and EGL. This was possible in Qt 5.0.
I've done a ugly patch which basically bypasses the check on configure and stuff compiles correctly, so I do not understand why the check was added.
This regression is making it hard for us to work on Mir + Qt integration.
Ugly patch attached