00001 // Compilation: http://linuxhelp.blogspot.com/2006/01/creating-and-compiling-qt-projects-on.html 00002 // 00003 // 00004 #include <QApplication> 00005 #include <QLabel> 00006 //#include <QtGui> 00007 00008 int main(int argc, char *argv[]) 00009 { 00010 QApplication app(argc, argv); 00011 QLabel label("Hello, world!"); 00012 label.show(); 00013 return app.exec(); 00014 }