<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- activeqt-idc.qdoc --> <title>IDC - The Interface Description Compiler (ActiveQt) | Qt 5.9</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td ><a href="index.html">Qt 5.9</a></td><td >IDC - The Interface Description Compiler (ActiveQt)</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">IDC - The Interface Description Compiler (ActiveQt)</h1> <span class="subtitle"></span> <!-- $$$activeqt-idc.html-description --> <div class="descr"> <a name="details"></a> <p>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.</p> <p>IDC understands the following command line parameters:</p> <div class="table"><table class="generic"> <thead><tr class="qt-style"><th >Option</th><th >Result</th></tr></thead> <tr valign="top" class="odd"><td >dll -idl idl -version x.y</td><td >Writes the IDL of the server <i>dll</i> to the file <i>idl</i>. The type library wll have version x.y.</td></tr> <tr valign="top" class="even"><td >dll -tlb tlb</td><td >Replaces the type library in <i>dll</i> with <i>tlb</i></td></tr> <tr valign="top" class="odd"><td >-v</td><td >Print version information</td></tr> <tr valign="top" class="even"><td >-regserver dll</td><td >Register the COM server <i>dll</i></td></tr> <tr valign="top" class="odd"><td >-unregserver</td><td >Unregister the COM server <i>dll</i></td></tr> </table></div> <p>It is usually never necessary to invoke IDC manually, as the <code>qmake</code> build system takes care of adding the required post processing steps to the build process. See the ActiveQt documentation for details.</p> </div> <!-- @@@activeqt-idc.html --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> 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. </p> </div> </body> </html>