IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Active Qt

Provides ActiveX and COM integration on Windows.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

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:

 
Sélectionnez
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:

 
Sélectionnez
QT += axcontainer axserver

Articles and Guides▲

  • https://

  • https://

  • https://

 

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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+   

Ce document est disponible sous la licence https:// telle que publiée par la Free Software Foundation.