Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved make ActiveX glwidget embedded in IE page scene

    General and Desktop
    1
    1
    102
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fisher103 last edited by

      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

      1 Reply Last reply Reply Quote 0
      • First post
        Last post