<?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[path to the executable]]></title><description><![CDATA[<p>hallo zusammen,</p>
<p>weisst jemand vlt. wie ich den pfad zu der mainApp.exe mit Qt bekommen kann. Wobei die Applikation an sich ist nicht mit Qt gebaut. Ich kann den pfad mit GetModuleFileName(...) bekommen aber ich wollte eigentlich keine Windows api benutzen sonder Qt. Ich will so was am Ende bekommen:</p>
<p>C:\Programmen\MainApplikation\Release\meinApp.exe</p>
<p>=&gt; C:\Programmen\MainApplikation\</p>
<p>danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/270088/path-to-the-executable</link><generator>RSS for Node</generator><lastBuildDate>Sun, 30 Aug 2026 13:46:48 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/270088.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 06 Jul 2010 12:24:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to path to the executable on Tue, 06 Jul 2010 12:24:22 GMT]]></title><description><![CDATA[<p>hallo zusammen,</p>
<p>weisst jemand vlt. wie ich den pfad zu der mainApp.exe mit Qt bekommen kann. Wobei die Applikation an sich ist nicht mit Qt gebaut. Ich kann den pfad mit GetModuleFileName(...) bekommen aber ich wollte eigentlich keine Windows api benutzen sonder Qt. Ich will so was am Ende bekommen:</p>
<p>C:\Programmen\MainApplikation\Release\meinApp.exe</p>
<p>=&gt; C:\Programmen\MainApplikation\</p>
<p>danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1922199</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1922199</guid><dc:creator><![CDATA[dimevit]]></dc:creator><pubDate>Tue, 06 Jul 2010 12:24:22 GMT</pubDate></item><item><title><![CDATA[Reply to path to the executable on Tue, 06 Jul 2010 12:36:00 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">QString aPath = qApp-&gt;applicationDirPath();
</code></pre>
<p>Das &quot;Release&quot; bekommst du so aber nicht weg, weil das Programm gar keine Ahnung hat was für eine Bedeutung das Unterverzeichnis hat.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1922207</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1922207</guid><dc:creator><![CDATA[Fellhuhn]]></dc:creator><pubDate>Tue, 06 Jul 2010 12:36:00 GMT</pubDate></item><item><title><![CDATA[Reply to path to the executable on Wed, 07 Jul 2010 09:28:29 GMT]]></title><description><![CDATA[<p>Hi Fellhuhn,</p>
<p>vielen Dank</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1922592</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1922592</guid><dc:creator><![CDATA[dimevit]]></dc:creator><pubDate>Wed, 07 Jul 2010 09:28:29 GMT</pubDate></item></channel></rss>