Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. make ActiveX glwidget embedded in IE page scene
Forum Updated to NodeBB v4.3 + New Features

make ActiveX glwidget embedded in IE page scene

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 156 Views
  • 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 Offline
    F Offline
    fisher103
    wrote on last edited by
    #1

    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
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved