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