anthony.liot Posted August 8, 2012 Posted August 8, 2012 HI, i'm trying to put Unigine inside QTWidget on OSX, for that i use the same code of your app sample "AppQt", and i make my own GLAppQt.mm because the GLAppQt.cpp it's just for windows or x11.I put the custom app file in attach file.My widget have nothing complicated, the start method just create widget app and init engine :// OpenGL App QtGLAppQt* widget = new GLAppQt(this);QVBoxLayout* layout = new QVBoxLayout();layout->addWidget(widget);setLayout(layout);// initialize EngineUnigine::Engine::init(UNIGINE_VERSION,widget,ARGC,ARGV);// initialize Appwidget->init();but i have an error about invalid drawable and invalid framebuffer operation.If anybody have an idea, thanks ....
anthony.liot Posted June 4, 2013 Author Posted June 4, 2013 Thanks, Frustum it's working well now, but thanks for not forgot old post ;) BTW i do some test with QT 5.1 work too with Unigine
Recommended Posts