Advertisement
Guest User

Untitled

a guest
Aug 17th, 2012
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. int main( int argc, char ** argv )
  2. {
  3. Q_INIT_RESOURCE(texture);
  4. QApplication a( argc, argv );
  5. MainWindow mw;
  6. mw.showMaximized();
  7. QMetaObject::invokeMethod((QObject) (mw.glwidget), "initializeGL", Qt::QueuedConnection);
  8. // QMetaObject::invokeMethod(viewer.rootObject(), "init", Qt::QueuedConnection);
  9. return a.exec();
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement