Hello,
I use Qt 4.8.4.

I try to use a ActiveX controler with this :

Qt Code:
  1. ui.setupUi(this);
  2. QAxWidget * pWindow = new QAxWidget();
  3. pWindow->setControl( "HKEY_CLASSES_ROOT\\TypeLib\\{ACFC5869-1D0F-4E2C-B898-05805607D542}" );
  4.  
  5. setCentralWidget( pWindow );
To copy to clipboard, switch view to plain text mode 

but I have
Qt Code:
  1. QAxBase::setControl: requested control HKEY_CLASSES_ROOT\TypeLib\{ACFC5869-1D0F-4E2C-B898-05805607D542} could not be instantiated
To copy to clipboard, switch view to plain text mode 
in the output command

I checked in the register base, the key seems to be right. Otherwise can I put the path to right .ocx directly in the setControl()?