Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "main.h"
- #include <QApplication>
- MainWindow *mainwindow= nullptr;
- int main(int argc, char *argv[]) {
- QApplication app(argc, argv);
- MainWindow a;
- a.resize(1200,800);
- a.show();
- mainwindow= &a;
- return app.exec();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement