Active Qt

Qt 的 ActiveX 和 COM 支持允许 Qt for Windows 开发者:

  • 在 Qt 应用程序中访问和使用由任何 ActiveX 服务器提供的 ActiveX 控件和 COM 对象。
  • 使 Qt 应用程序可用作 COM 服务器,采用任意数量 Qt 对象和小部件作为 COM 对象和 ActiveX 控件。

有关 Qt 使用 ActiveX 的更多信息,见 在 Qt 中构建 ActiveX 服务器 .

The ActiveQt 框架由 2 个模块组成:

一组 tools 的提供,是为简化使用 ActiveX 的 Qt 工程的开发和构建。

要构建静态库,更改为 activeqt 目录 (通常 QTDIR/src/activeqt ),和运行 qmake 和 make 工具在 container control subdirectory. The qaxcontainer and qaxserver libraries will be linked into QTDIR/lib .

若正在使用 Qt 共享配置,进入 plugin 子目录和运行 qmake 及 make 工具以构建插件,集成 QAxContainer 模块到 Qt Designer .

文章和指南

许可和归属

The QAxContainer and QAxServer 模块在商业许可下是可用的来自 Qt 公司 。此外,它们是可用的在 BSD 3 条款新 (或修订) 许可 :

Copyright (C) 2017 The Qt Company Ltd.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
  * Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
  * Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in
    the documentation and/or other materials provided with the
    distribution.
  * Neither the name of The Qt Company Ltd nor the names of its
    contributors may be used to endorse or promote products derived
    from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
					

Qt 许可 进一步了解细节。

参考

范例