Get rid of the QtGui path to avoid Qt5 migration shenanigans.