Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main( int argc, char ** argv )
- {
- Q_INIT_RESOURCE(texture);
- QApplication a( argc, argv );
- MainWindow mw;
- mw.showMaximized();
- QMetaObject::invokeMethod((QObject) (mw.glwidget), "initializeGL", Qt::QueuedConnection);
- // QMetaObject::invokeMethod(viewer.rootObject(), "init", Qt::QueuedConnection);
- return a.exec();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement