Do not need to link to QtGui, eliminate the dependency