daily pastebin goal
48%
SHARE
TWEET

Test3D-main

johan_solo Oct 18th, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
Top