Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions | ![]() |
The ActiveQt framework provides a library implementing a QWidget subclass, QAxWidget, that acts as a container for ActiveX controls.
This module is part of the ActiveQt framework. (To make an application into an ActiveX server see the QAxServer module.)
The module consists of three classes
Some example applications that use standard ActiveX controls to provide high level user interface functionality are provided.
In the activeqt directory (usually QTDIR/extensions/activeqt) enter the container subdirectory and run qmake to generate the makefile, and use the make tool (nmake for VC++, make for Borland) to build the library. The library qaxcontainer.lib will be linked into QTDIR/lib. If you build a shared library (i.e. when Qt is a shared library) the qaxcontainer.dll will be copied into QTDIR/bin and into the Qt Designer plugin directory.
To use the classes the application must link against the qaxcontainer.lib file. Add
LIBS += $(QTDIR)/lib/qaxcontainer.lib
to your application's .pro file.
See the QAxWidget API reference for documentation about how to use this class to embed ActiveX controls in Qt applications.
The QAxContainer FAQ provides additional information about building and distributing Qt applications hosting ActiveX controls.
Copyright © 2003 Trolltech | Trademarks | Qt 3.2.3
|