Guest User

Untitled

a guest
Feb 20th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. QT += core gui
  2. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  3. TARGET = test
  4. TEMPLATE = app
  5. SOURCES += main.cpp
  6. mainwindow.cpp
  7. HEADERS += mainwindow.h
  8. FORMS += mainwindow.ui
  9.  
  10. target.path = /root/test
  11. INSTALLS += target
  12.  
  13. #include "mainwindow.h"
  14. #include <QApplication>
  15. int main(int argc, char *argv[])
  16. {
  17. QApplication a(argc, argv);
  18. MainWindow w;
  19. w.show();
  20.  
  21. return a.exec();
  22. }
Add Comment
Please, Sign In to add comment