IDC - 接口描述編譯器 (ActiveQt)

The IDC tool is part of the ActiveQt build system and makes it possible to turn any Qt binary into a full COM object server with only a few lines of code.

IDC 理解以下命令行參數:

選項 結果
dll -idl idl -version x.y 寫入 IDL 為服務器 dll 到文件 idl . The type library will have version x.y.
dll -tlb tlb 替換類型庫在 dll with tlb
-v 打印版本信息
-regserver dll 注冊 COM 服務器 dll
-unregserver 取消注冊 COM 服務器 dll

通常沒有必要手動援引 IDC,因為 qmake 構建係統負責將要求的後期處理步驟添加到構建過程。見 ActiveQt 文檔編製瞭解細節。