Reverted OpenGL changes
Upgraded to Qt5