<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[qmake -project INCLUDEPATH recursion]]></title><description><![CDATA[<p dir="auto">I am upgrading from Qt 4.8 to Qt 5.7.  Our source tree changes frequently, so we currently use 'qmake -project' regurly to generate our .pro file to match the source tree.  Remaining configuration options are kept in a .qmake.cache file.</p>
<p dir="auto">In the Qt 4.8 version of qmake, the resulting .pro file from 'qmake -project' would include all sub-directories from our source tree in INCLUDEPATH.  In Qt 5.7, qmake -project no longer includes those sub-directories in the INCLUDEPATH.  I've tried various combinations of command line options to 'qmake -project', but none work quite right.  I'd like to ensure that we don't need to hand manipulate the resulting .pro file.</p>
<p dir="auto">qmake -project</p>
<ul>
<li>does not include subdirectories in INCLUDEPATH</li>
</ul>
<p dir="auto">qmake -project -recursive</p>
<ul>
<li>does not include subdirectories in INCLUDEPATH</li>
</ul>
<p dir="auto">qmake -project  -recursive src</p>
<ul>
<li>does include subdirectories in INCLUDEPATH</li>
<li>duplicates some directories in INCLUDEPATH with absolute path (i.e. src/main, /src/main).  Also duplicates some of the header and source files with absolute path in SOURCES, HEADERS.</li>
</ul>
]]></description><link>https://forum.qt.io/topic/76995/qmake-project-includepath-recursion</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 13:38:52 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/76995.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 Mar 2017 19:33:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to qmake -project INCLUDEPATH recursion on Tue, 13 Jun 2023 21:04:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> I had the same issue but 'qmake -project -recursive src'  still didn't work, so I simply ran 'qmake -project' with the old qt4 qmake and this worked for me.</p>
]]></description><link>https://forum.qt.io/post/761353</link><guid isPermaLink="true">https://forum.qt.io/post/761353</guid><dc:creator><![CDATA[Randy Dellinger]]></dc:creator><pubDate>Tue, 13 Jun 2023 21:04:25 GMT</pubDate></item><item><title><![CDATA[Reply to qmake -project INCLUDEPATH recursion on Wed, 08 Mar 2017 23:19:55 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for sharing your findings !</p>
<p dir="auto">One thing you can do is to add your own glitch to the report, that might also help pinpoint the issue.</p>
]]></description><link>https://forum.qt.io/post/380741</link><guid isPermaLink="true">https://forum.qt.io/post/380741</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 08 Mar 2017 23:19:55 GMT</pubDate></item><item><title><![CDATA[Reply to qmake -project INCLUDEPATH recursion on Wed, 08 Mar 2017 23:17:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> Thanks, after reviewing the bug list, it looks like <a href="https://bugreports.qt.io/browse/QTBUG-48342" target="_blank" rel="noopener noreferrer nofollow ugc">QTBUG-48342</a> is what is causing my issue.</p>
<p dir="auto">I'm guessing that using the 'qmake -project -recursive src' would work for us if not for that issue with the extra directory separator.</p>
<p dir="auto">It looks like it's been outstanding for since 5.5 so I'm not going to hold my breath for a fix anytime soon.  I guess I'll have to come up with a plan 'B'.</p>
]]></description><link>https://forum.qt.io/post/380738</link><guid isPermaLink="true">https://forum.qt.io/post/380738</guid><dc:creator><![CDATA[jschaub]]></dc:creator><pubDate>Wed, 08 Mar 2017 23:17:09 GMT</pubDate></item><item><title><![CDATA[Reply to qmake -project INCLUDEPATH recursion on Wed, 08 Mar 2017 22:01:24 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">Looks a bit like a regression. You should check the <a href="https://bugreports.qt.io" target="_blank" rel="noopener noreferrer nofollow ugc">bug report system</a> to see if there's something related to that.</p>
]]></description><link>https://forum.qt.io/post/380714</link><guid isPermaLink="true">https://forum.qt.io/post/380714</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 08 Mar 2017 22:01:24 GMT</pubDate></item></channel></rss>