IDC - O Compilador de Descrição de Interface (ActiveQt)
A ferramenta IDC faz parte do sistema de compilação ActiveQt e permite transformar qualquer binário Qt em um servidor de objetos COM completo com apenas algumas linhas de código.
O IDC reconhece os seguintes parâmetros de linha de comando:
| Opção | Resultado |
|---|---|
| dll -idl idl -version x.y | Grava o IDL da DLL do servidor no arquivo idl. A biblioteca de tipos terá a versão x.y. |
| dll -tlb tlb | Substitui a biblioteca de tipos na dll pelo arquivo tlb |
| -v | Exibe informações sobre a versão |
| -regserver dll | Registra o servidor COM dll |
| -unregserver | Desregistrar a DLL do servidor COM |
Normalmente, nunca é necessário invocar o IDC manualmente, pois o sistema de compilação qmake se encarrega de adicionar as etapas de pós-processamento necessárias ao processo de compilação. Consulte a documentação do ActiveQt para obter mais detalhes.
© 2026 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.