Several more Qt5 fixes: QtWidgets -> QtGui.

Leo build: 20140909142322