Active Qt 5.6

Qt 5.6 | Active Qt

Qt 5.6.2 Reference Documentation

# Active Qt

Qt's ActiveX and COM support allows Qt for Windows developers to:

- Access and use ActiveX controls and COM objects provided by any ActiveX server in their Qt applications.
- Make their Qt applications available as COM servers, with any number of Qt objects and widgets as COM objects and ActiveX controls.

For more information about using ActiveX with Qt, see Building ActiveX servers in Qt.

The ActiveQt framework consists of two modules:

- The QAxContainer module is a static library implementing QObject and QWidget subclasses, QAxObject and QAxWidget, that act as containers for COM objects and ActiveX controls.
- The QAxServer module is a static library that implements functionality for in-process and executable COM servers. This module provides the QAxAggregated, QAxBindable and QAxFactory classes.

A set of tools is provided to simplify the developing and building of Qt projects that use ActiveX.

To build the static libraries, change into the `activeqt` directory (usually `QTDIR/src/activeqt`), and run `qmake` and your make tool in both the `container` and the `control` subdirectory. The libraries `qaxcontainer.lib` and `qaxserver.lib` will be linked into `QTDIR/lib`.

If you are using a shared configuration of Qt enter the `plugin` subdirectory and run `qmake` and your make tool to build a plugin that integrates the QAxContainer module into Qt Designer.

## Articles and Guides

- Tools for ActiveQt
- Using ActiveX controls and COM in Qt
- Building ActiveX servers in Qt

## Reference

- QAxContainer C++ Classes
- QAxServer C++ Classes

## Examples

- Multiple Example (ActiveQt)
- Qutlook Example (ActiveQt)
- COM App Example (ActiveQt)
- Dot Net Example (ActiveQt)
- OpenGL Example (ActiveQt)
- Hierarchy Example (ActiveQt)
- Menus Example (ActiveQt)
- Wrapper Example (ActiveQt)
- Simple Example (ActiveQt)
- Web Browser Example (ActiveQt)