Fix needed for OpenGL Rendering Context issue in QT application when using Ogre3D.
Tags : C++ QT, ActiveX, Ogre3D, OpenGL.
Ogre based ActiveX and OpenGL window clashes in QT app.
Created an ActiveX control using Ogre3D. It can be embedded in any container application. Like that it can be embedded in QT application too. No issue here.
But rendering context issue occurs, when other OpenGL window is created in the same QT application.
This issue happens only the ActiveX is used in QT application. No issues happened when it is used in other non QT based application (like VC++, C#, VB)
Need a fix for this problem.
- Ogre3D based ActiveX source and binaries.
- QT container application source and binary.
To test binary is provided. Inside Bin folder,
[login to view URL] – active X control and its dependency dlls.
[login to view URL] – QT container application sample 1, that uses OgreATX.ocx. No issue. Works fine.
[login to view URL] – QT application that uses its own OpenGL window. – No issue. Works fine.
4. OpenGL+[login to view URL] - QT application that uses its own OpenGL window and [login to view URL] – Rendering issue occurs. Fix needed.
Note: OgreATX can load .mesh file and display. Right click popup menu is provided to load and set standard views.
( mesh files provided in Sample Models folder)
Windows 7 and 10, QT 5.3.1, VC++ 2010, Ogre 1.8.1
Rendering context issue fixed source code. Either in QT code (client side) or in OgreATX ( server side MFC based ActiveX code).
Acceptance: QT application has to work that contains another OpenGL window and [login to view URL]