Boost C++ Libraries: Ticket #5802: bjam/qt4: Use response files to pass flags to moc https://svn.boost.org/trac10/ticket/5802 <p> When qt4 is used with a lot of preprocessor defines and/or include directories it can happen that the moc action gets ”too long” (happens quite quickly on Windows). The attached patch works around the problem by utiliting moc's response file feature to pass preprocesser defines and include directories to moc. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5802 Trac 1.4.3 frank.richter@… Mon, 22 Aug 2011 07:51:06 GMT attachment set https://svn.boost.org/trac10/ticket/5802 https://svn.boost.org/trac10/ticket/5802 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">bjam-qt4-moc-response-file.patch</span> </li> </ul> <p> Patch to pass flags to moc through response files </p> Ticket Jürgen Hunold Wed, 24 Aug 2011 20:17:35 GMT status changed; owner set https://svn.boost.org/trac10/ticket/5802#comment:1 https://svn.boost.org/trac10/ticket/5802#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Jürgen Hunold</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Jürgen Hunold Wed, 24 Aug 2011 20:20:02 GMT <link>https://svn.boost.org/trac10/ticket/5802#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5802#comment:2</guid> <description> <p> The patch does not work on Linux, it seems response file support is only active on Windows. So I must inventsome &lt;host-os&gt;-based logic to select the right rule. Working on it... </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Jürgen Hunold</dc:creator> <pubDate>Thu, 25 Aug 2011 18:10:03 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5802#comment:3 https://svn.boost.org/trac10/ticket/5802#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/74058" title="Fix #5802: Add response file support for moc.">[74058]</a>) Fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5802" title="#5802: Patches: bjam/qt4: Use response files to pass flags to moc (closed: fixed)">#5802</a>: Add response file support for moc. </p> Ticket Jürgen Hunold Tue, 30 Aug 2011 13:15:43 GMT <link>https://svn.boost.org/trac10/ticket/5802#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5802#comment:4</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/74157" title="Fix: Do not quote INCLUDES in moc response file. refs #5802.">[74157]</a>) Fix: Do not quote INCLUDES in moc response file. refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5802" title="#5802: Patches: bjam/qt4: Use response files to pass flags to moc (closed: fixed)">#5802</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Jürgen Hunold</dc:creator> <pubDate>Thu, 01 Sep 2011 20:13:37 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5802#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5802#comment:5</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/74186" title="Merge 74058,74157 from ^/trunk ...">[74186]</a>) Merge 74058,74157 from <sup>/trunk </sup></p> <hr /> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/74058" title="Fix #5802: Add response file support for moc.">r74058</a> | jhunold | 2011-08-25 20:09:59 +0200 (Do, 25 Aug 2011) | 1 line </p> <p> Fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5802" title="#5802: Patches: bjam/qt4: Use response files to pass flags to moc (closed: fixed)">#5802</a>: Add response file support for moc. </p> <hr /> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/74157" title="Fix: Do not quote INCLUDES in moc response file. refs #5802.">r74157</a> | jhunold | 2011-08-30 15:15:39 +0200 (Di, 30 Aug 2011) | 1 line </p> <p> Fix: Do not quote INCLUDES in moc response file. refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5802" title="#5802: Patches: bjam/qt4: Use response files to pass flags to moc (closed: fixed)">#5802</a>. </p> <hr /> </description> <category>Ticket</category> </item> </channel> </rss>