Advertisement
Gustavo_Inzunza

Qt hello world

Sep 23rd, 2013
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. #include <QApplication>
  2. #include <QLabel>
  3. #include <QWidget>
  4. int main(int argc, char *argv[ ])
  5. {
  6. QApplication app(argc, argv);
  7. QLabel hello("<center>Bienvenido a mi primer programa QT con WikiHow</center>");
  8. hello.setWindowTitle("Mi primer programa Qt con WikiHow");
  9. hello.resize(400, 400);
  10. hello.show();
  11. return app.exec();
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement