Iam starting learning Qt. I have this code snippet and i want to know how i can compile this and excute in gcc. Platform : Linux , gcc compiler
1 #include <QtGui>
2
3 int main(int argc, char *argv[])
4 {
5 QApplication app(argc, argv);
6 QLabel label("Hello, world!");
7 label.show();
8
9 return app.exec();
10 }