Buildfix for Qt

Gets Qt compiling again but not working yet.
Qt hasn't compiled in days due to the GL changes for Windows.

Had some spare time so decided to get compiling to work at least. Although, it hasn't been designed for emuthread to always be running yet, so it probably doesn't run.