u havent included QtGui..QApplication and QLabel are both part of it