[Transition] Strip Qt 4-specific code branches

The codebase can no longer compile on Qt 4 after the OpenGL transition.
So, remove all the version checks.