Active Qt▲
Qt's ActiveX and COM support enables 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 https://.
The ActiveQt framework consists of two modules:
-
The https:// module is a static library that implements a QObject subclass, https://, and a QWidget subclass, https://, which act as containers for COM objects and ActiveX controls.
-
The https:// module is a static library that implements functionality for in-process and executable COM servers. This module provides the https://, https://, and https:// classes.
A set of https:// is provided to simplify the developing and building of Qt projects that use ActiveX.
Using the Module▲
Using a Qt module requires linking against the module library, either directly or through other dependencies. Several build tools have dedicated support for this, including http:// and qmake.
Building with CMake▲
Use the find_package() command to locate the needed module components in the Qt6 package:
find_package(Qt6 REQUIRED COMPONENTS AxContainer AxServer)
target_link_libraries(mytarget PRIVATE Qt6::AxContainer Qt6::AxServer)For more details, see the Build with CMake overview.
Building with qmake▲
To configure the modules for building with qmake, add the module as a value of the QT variable in the project's .pro file:
QT += axcontainer axserverArticles and Guides▲
Examples▲
-
https://
-
https://
-
https://
-
https://
-
https://
-
https://
-
https://
-
https://
-
https://
-
https://
Reference▲
-
https://
-
https://
Licenses and Attributions▲
The https:// and https:// modules are available under commercial licenses from http://. In addition, they are available under the BSD 3-clause "New" or "Revised" License:
See Qt Licensing for further details.


