|  | Home · Overviews · Examples

# ActiveQt Framework

An overview of Qt's ActiveX and COM integration on Windows. Qt's ActiveX and COM support allows Qt/Windows developers to:

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

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.

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.

The ActiveQt modules are part of the Qt Desktop Edition. They are not part of the Qt Open Source Edition.

See also:
  QAxContainer Module, and QAxServer Module.