Fix Build error with Qt 5

Use QtWidgets headers instead of QtGui.
Merge pull request #1 from nezticle/hawaii

Fix Build error with Qt 5