Hi,
I try to embed Ogre-next on Qt6 ( using opengl ). Everything works fine if any QOpenGLWidget are present and ogre-next is the only one.
I have generated a class with ogrenext functions that can work passing wId from a QOpenGLWidget and it is posible to render from ogre to this qwidget, others QOpenGLWidget are present too.
The main problem is that I can't control the paintgl function and if I use makecurrent I get a black screen over ogre, If I don't use it, I can see ogre-next rendering ( using Qtimer ) but as soon as I focus on another QOpenGLWidget , ogre-next render became black.
I guess problem is because ogre use internal openglcontext and Qt others..
I have checked the possibility to use "externalGLControl","currentGLContext","externalGLContext" without sucess.
To resume: i wantot use ogre-next inside Qt6, working with opengl together with others QOpenGLWidget ,and if it is posible to share textures between them, generating a texture on a QOpenGLWidget , and using the texture on ogre using the textureID.
Is it posible, or I will have to use ogre ( no next ) to work together with Qt ??
I would apreciate some ideas about it
Thanks !!!