Replace QtGui include with individual includes

Qt 5 splits QtGui into Gui and Widgets components. Including the
individual includes will solve this problem.