removed QtGui dependencies from Server