<?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[Set output dir in .pro file]]></title><description><![CDATA[<p dir="auto">Hello.<br />
Can someone tell me is it possible to set in .pro file for the .exe file to be create in the same directory as the source?</p>
]]></description><link>https://forum.qt.io/topic/102091/set-output-dir-in-pro-file</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 12:15:13 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/102091.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Apr 2019 20:06:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Set output dir in .pro file on Thu, 25 Apr 2019 18:26:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mandruk1331">@<bdi>mandruk1331</bdi></a> but you are working on both regularly?</p>
<p dir="auto">The SUBDIRS is the BEST you can do.</p>
<p dir="auto">The projects might still be in different Git repositories, but with Git submodule and Qt SUBDIRS you get the maximum productivity and flexibility.</p>
]]></description><link>https://forum.qt.io/post/525209</link><guid isPermaLink="true">https://forum.qt.io/post/525209</guid><dc:creator><![CDATA[aha_1980]]></dc:creator><pubDate>Thu, 25 Apr 2019 18:26:13 GMT</pubDate></item><item><title><![CDATA[Reply to Set output dir in .pro file on Thu, 25 Apr 2019 10:33:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> they are completely different projects</p>
]]></description><link>https://forum.qt.io/post/525045</link><guid isPermaLink="true">https://forum.qt.io/post/525045</guid><dc:creator><![CDATA[mandruk1331]]></dc:creator><pubDate>Thu, 25 Apr 2019 10:33:12 GMT</pubDate></item><item><title><![CDATA[Reply to Set output dir in .pro file on Wed, 24 Apr 2019 21:01:56 GMT]]></title><description><![CDATA[<p dir="auto">That I know. My question was: is that library and the application parts of a project using the subdirs template or are they completely separated projects ? The INCLUDEPATH line suggests the former.</p>
]]></description><link>https://forum.qt.io/post/524900</link><guid isPermaLink="true">https://forum.qt.io/post/524900</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 24 Apr 2019 21:01:56 GMT</pubDate></item><item><title><![CDATA[Reply to Set output dir in .pro file on Wed, 24 Apr 2019 20:55:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> The first is the location of the include files of the liLibFile.a</p>
]]></description><link>https://forum.qt.io/post/524897</link><guid isPermaLink="true">https://forum.qt.io/post/524897</guid><dc:creator><![CDATA[mandruk1331]]></dc:creator><pubDate>Wed, 24 Apr 2019 20:55:27 GMT</pubDate></item><item><title><![CDATA[Reply to Set output dir in .pro file on Wed, 24 Apr 2019 20:29:37 GMT]]></title><description><![CDATA[<p dir="auto">Is that a subdirs project or two completely separated projects ?</p>
]]></description><link>https://forum.qt.io/post/524890</link><guid isPermaLink="true">https://forum.qt.io/post/524890</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 24 Apr 2019 20:29:37 GMT</pubDate></item><item><title><![CDATA[Reply to Set output dir in .pro file on Wed, 24 Apr 2019 20:21:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> But is it possible in the .pro file to copy the file which I want into the source folder?</p>
<p dir="auto">The goal which I want to achieve, is for the Application which depends on a library remove the hardcoded path to the library path of where it is built.<br />
<a href="http://MainProject.pro" target="_blank" rel="noopener noreferrer nofollow ugc">MainProject.pro</a></p>
<pre><code>INCLUDEPATH += "../LibFile"
LIBS += "C:\Users\&lt;UserName&gt;\Documents\build-LibFile-Desktop_Qt_5_11_1_MinGW_32bit-Debug\debug\libLibFile.a
</code></pre>
]]></description><link>https://forum.qt.io/post/524886</link><guid isPermaLink="true">https://forum.qt.io/post/524886</guid><dc:creator><![CDATA[mandruk1331]]></dc:creator><pubDate>Wed, 24 Apr 2019 20:21:32 GMT</pubDate></item><item><title><![CDATA[Reply to Set output dir in .pro file on Wed, 24 Apr 2019 20:14:48 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">The easiest is to not use the Shadow Build feature of Qt Creator.</p>
<p dir="auto">However this also means that you will have all build artefacts in your sources which is something that you usually want to avoid.</p>
]]></description><link>https://forum.qt.io/post/524883</link><guid isPermaLink="true">https://forum.qt.io/post/524883</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 24 Apr 2019 20:14:48 GMT</pubDate></item></channel></rss>