Qt build fix
Merge pull request #1077 from Xele02/qt_work

Qt build fix