IDC - 接口描述编译器(ActiveQt)
IDC 工具是 ActiveQt 构建系统的一部分,只需几行代码就能将任何 Qt 二进制文件转化为完整的 COM 对象服务器。
IDC 可理解以下命令行参数:
选项 | 结果 |
---|---|
dll -idl idl -version x.y | 将服务器dll的 IDL 写入idl 文件。类型库的版本为 x.y。 |
dll -tlb tlb | 用tlb替换dll中的类型库 |
-v | 打印版本信息 |
-regserver dll | 注册 COM 服务器dll |
-取消注册 | 取消注册 COM 服务器dll |
通常无需手动调用 IDC,因为qmake
构建系统会在构建过程中添加所需的后处理步骤。有关详细信息,请参阅ActiveQt文档。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.