<?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[[SOLVED] INCPATH in make file, produced by qmake has two -I]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">I have a file containing my makefile variables, which I want to include them in INCPATH of the makefile. So, in my .pro file I set:</p>
<p dir="auto">@INCLUDEPATH += $$SOME_VAR@</p>
<p dir="auto">These variables have an -I in front of the addresses. But, qmake automatically adds an -I before these variables and then include them in the makefile, which causes problem in my case. Is there a way to get rid of this extra -I that qmake adds to my INCPATH variables?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/topic/47513/solved-incpath-in-make-file-produced-by-qmake-has-two-i</link><generator>RSS for Node</generator><lastBuildDate>Mon, 21 Sep 2026 09:51:05 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/47513.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Oct 2014 20:37:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [SOLVED] INCPATH in make file, produced by qmake has two -I on Thu, 30 Oct 2014 00:06:12 GMT]]></title><description><![CDATA[<p dir="auto">Thanks :)</p>
<p dir="auto">Easy: edit your original post and update the title</p>
]]></description><link>https://forum.qt.io/post/249486</link><guid isPermaLink="true">https://forum.qt.io/post/249486</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 30 Oct 2014 00:06:12 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] INCPATH in make file, produced by qmake has two -I on Tue, 28 Oct 2014 22:00:15 GMT]]></title><description><![CDATA[<p dir="auto">Dude , You know that you are awesome !!! So , how I should mark this as solved?</p>
]]></description><link>https://forum.qt.io/post/249312</link><guid isPermaLink="true">https://forum.qt.io/post/249312</guid><dc:creator><![CDATA[a.samii]]></dc:creator><pubDate>Tue, 28 Oct 2014 22:00:15 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] INCPATH in make file, produced by qmake has two -I on Tue, 28 Oct 2014 21:54:00 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">AFAIK, no, however you can do something like this</p>
<p dir="auto">@<br />
INCLUDEPATH += $$replace(SOME_VAR, -I,))<br />
@</p>
<p dir="auto">Which will remove all the -I from SOME_VAR</p>
<p dir="auto">Hope it helps</p>
]]></description><link>https://forum.qt.io/post/249309</link><guid isPermaLink="true">https://forum.qt.io/post/249309</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 28 Oct 2014 21:54:00 GMT</pubDate></item></channel></rss>