Blind fix to Qt build errors.
Merge pull request #2589 from unknownbrackets/qt-fix

Blind fix to Qt build errors