Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <QApplication>
- #include <QLabeL> //Allow labels.
- int main(int argc, char *argv[])
- {
- QApplication prog(argc, argv);
- QLabel *label = new QLabel("Hello world."); //declare label.
- label->show(); //Display label.
- return prog.exec();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement