make ActiveX glwidget embedded in IE page scene
Unsolved
General and Desktop
-
I test ActiveQt example opengl and simple work in html with IE. but I find simple activeX Widget can be live in the IE page area but GLWidget with opengl always lives outside page area with a new open window. how can I use opengl and ActiveX to make an element rendered in IE page view.
simple class
class QSimpleAX : public QWidget, public QAxBindable { }; QAXFACTORY_BEGIN( "{EC08F8FC-2754-47AB-8EFE-56A54057F34E}", // type library ID "{A095BA0C-224F-4933-A458-2DD7F6B85D8F}") // application ID QAXCLASS(QSimpleAX) QAXFACTORY_END()
opengl class
class GLBox : public QGLWidget, public QOpenGLFunctions_1_1, public QAxBindable { }; QAXFACTORY_BEGIN( "{2c3c183a-eeda-41a4-896e-3d9c12c3577d}", // type library ID "{83e16271-6480-45d5-aaf1-3f40b7661ae4}") // application ID QAXCLASS(GLBox) QAXFACTORY_END()
develop environment below:
windows10 msvs-2015 with Qt5.9.5