Advertisement
johan_solo

Test3D-main

Oct 18th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. #include "mainwindow.h"
  2. #include "Window.h"
  3. #include <QApplication>
  4.  
  5. int main(int argc, char *argv[])
  6. {
  7.     QApplication a(argc, argv);
  8. //    MainWindow w;
  9. //    w.show();
  10.     Window w;
  11.     if ( w.initialise() )
  12.     {
  13.         qDebug( "Showing widget" );
  14.         QWidget* widget( w.widget() );
  15.         widget->show();
  16.         widget->resize( 1200, 800 );
  17.     }
  18.  
  19.     return a.exec();
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement