Use Ogre and qt together in Mac OS

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Post Reply
lainegates
Gnoblar
Posts: 9
Joined: Thu Jun 12, 2014 3:16 am

Use Ogre and qt together in Mac OS

Post by lainegates »

Hi, everyone.
Thanks for ogre's authors that I got an excellent visualization engine.
Now I am trying to develop my project in Mac OS.
It worked fine except when resizing.
I use Ogre and QT together as : http://www.ogre3d.org/tikiwiki/tiki-ind ... e+into+QT5

In my code, I wrapped the "QTOgreWindow" in QWidget with " QWidget::createWindowContainer(window);". The problem is as the picture:
Image

BUT if I don't wrap "QTOgreWindow" in QWidget, i.e., use "QTOgreWindow" object as root element in "main()", it resized fine without problem.

Could anyone give me some advice?
Post Reply