qt: remove use of Qt's QOpenGLFunctions
We already have our own versions so use them instead so that we don't have the potential for redefinition warnings between system GL headers and Qt's internal headers.
Fixes #523 (closed)
@slomo does this fix it? :)