Remove glew dependencies that cause Qt conflicts

Remove the glew dependencies that cause conflicts with Qt. Qt5 should provide the necessary functions for OpenGL. See:

This means that support for Qt4 needs to be dropped.

Requirement for some new functionality, e.g. VR.