Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- QT += core gui
- greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
- TARGET = test
- TEMPLATE = app
- SOURCES += main.cpp
- mainwindow.cpp
- HEADERS += mainwindow.h
- FORMS += mainwindow.ui
- target.path = /root/test
- INSTALLS += target
- #include "mainwindow.h"
- #include <QApplication>
- int main(int argc, char *argv[])
- {
- QApplication a(argc, argv);
- MainWindow w;
- w.show();
- return a.exec();
- }
Add Comment
Please, Sign In to add comment