removed dependency to QtGui