QT -= gui caused <QTGui/QImage> to not be found