Use the newer interface for Qt's gpu debugging.
Merge pull request #4254 from unknownbrackets/qt-minor

Use the newer interface for Qt's gpu debugging