Jump to content

[SOLVED] Unigine and Qt on OSX


photo

Recommended Posts

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 Qt
GLAppQt* widget = new GLAppQt(this);
QVBoxLayout* layout = new QVBoxLayout();
layout->addWidget(widget);
setLayout(layout);

// initialize Engine
Unigine::Engine::init(UNIGINE_VERSION,widget,ARGC,ARGV);

// initialize App
widget->init();

but i have an error about invalid drawable and invalid framebuffer operation.

If anybody have an idea, thanks ....

Link to comment
  • 9 months later...

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 

Link to comment
×
×
  • Create New...