<?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[Qt Creator won&#x27;t upload executable, but runs from terminal]]></title><description><![CDATA[<p dir="auto">I have no experience on current Qt, though many years ago I used Qt3, apologies if this is a dumb configuration issue.<br />
II have just installed Qt 5 on Debian Buster. and I have tried a few very basic Widget applications using Qt Creator 4.8.2. In all cases when I try to run the executable it says:</p>
<p dir="auto">Failed to upload file "/home/abc/C_projects/build-test5-Desktop-Debug/test5"</p>
<p dir="auto">but if I open a terminal window in the appropriate directory and type</p>
<p dir="auto">./test5</p>
<p dir="auto">I get:</p>
<p dir="auto">Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.</p>
<p dir="auto">and my GUI application opens and runs ok.<br />
I tried changing  permissions on the directory and files but it still won't work.</p>
<p dir="auto">Thanks for any advice!<br />
Pierre Alexis</p>
]]></description><link>https://forum.qt.io/topic/142273/qt-creator-won-t-upload-executable-but-runs-from-terminal</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 01:42:41 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/142273.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Jan 2023 11:28:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt Creator won&#x27;t upload executable, but runs from terminal on Wed, 18 Jan 2023 14:08:59 GMT]]></title><description><![CDATA[<p dir="auto">Solved.<br />
My Kits - Desktop Device Type was  "QNX Device". Changed to "Desktop" and everything works. Thanks for the advice.</p>
]]></description><link>https://forum.qt.io/post/744250</link><guid isPermaLink="true">https://forum.qt.io/post/744250</guid><dc:creator><![CDATA[pierrealexis]]></dc:creator><pubDate>Wed, 18 Jan 2023 14:08:59 GMT</pubDate></item><item><title><![CDATA[Reply to Qt Creator won&#x27;t upload executable, but runs from terminal on Wed, 18 Jan 2023 13:57:11 GMT]]></title><description><![CDATA[<p dir="auto">and indeed there is no /opt/test5</p>
]]></description><link>https://forum.qt.io/post/744246</link><guid isPermaLink="true">https://forum.qt.io/post/744246</guid><dc:creator><![CDATA[pierrealexis]]></dc:creator><pubDate>Wed, 18 Jan 2023 13:57:11 GMT</pubDate></item><item><title><![CDATA[Reply to Qt Creator won&#x27;t upload executable, but runs from terminal on Wed, 18 Jan 2023 13:22:36 GMT]]></title><description><![CDATA[<p dir="auto">Thank you again. I deleted the .pro.user but I still get the same output message. This is my Build tab.<img src="https://ddgobkiprc33d.cloudfront.net/a75a642b-105d-44e4-9632-5309711c5b18.png" alt="Screenshot from 2023-01-18 14-19-45.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.qt.io/post/744240</link><guid isPermaLink="true">https://forum.qt.io/post/744240</guid><dc:creator><![CDATA[pierrealexis]]></dc:creator><pubDate>Wed, 18 Jan 2023 13:22:36 GMT</pubDate></item><item><title><![CDATA[Reply to Qt Creator won&#x27;t upload executable, but runs from terminal on Wed, 18 Jan 2023 13:01:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pierrealexis">@<bdi>pierrealexis</bdi></a> You should check your Run configuration - there should not be any "/opt/test5".<br />
As alternative you can delete your *.pro.user files and open the project again in QtCreator.</p>
]]></description><link>https://forum.qt.io/post/744237</link><guid isPermaLink="true">https://forum.qt.io/post/744237</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Wed, 18 Jan 2023 13:01:18 GMT</pubDate></item><item><title><![CDATA[Reply to Qt Creator won&#x27;t upload executable, but runs from terminal on Wed, 18 Jan 2023 12:53:07 GMT]]></title><description><![CDATA[<p dir="auto">Thanks.<br />
I had  selected "Always deploy project before running it" in Build&amp;Run.<br />
I deselected it and now upon Run I get:</p>
<p dir="auto">13:50:20: Starting /opt/test5/bin/test5...<br />
bash: /var/run/qtc.4.pid: Permission denied<br />
bash: /opt/test5/bin/test5: No such file or directory<br />
13:50:20: Application finished with exit code 1.</p>
]]></description><link>https://forum.qt.io/post/744236</link><guid isPermaLink="true">https://forum.qt.io/post/744236</guid><dc:creator><![CDATA[pierrealexis]]></dc:creator><pubDate>Wed, 18 Jan 2023 12:53:07 GMT</pubDate></item><item><title><![CDATA[Reply to Qt Creator won&#x27;t upload executable, but runs from terminal on Wed, 18 Jan 2023 12:14:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pierrealexis">@<bdi>pierrealexis</bdi></a> said in <a href="/post/744227">Qt Creator won't upload executable, but runs from terminal</a>:</p>
<blockquote>
<p dir="auto">Failed to upload file</p>
</blockquote>
<p dir="auto">This sounds like QtCreator tries to upload your executable. Did you add any "Deploy Step"? By default there should not be any and QtCreator should just start the executable from the build folder without uploading anything.</p>
]]></description><link>https://forum.qt.io/post/744229</link><guid isPermaLink="true">https://forum.qt.io/post/744229</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Wed, 18 Jan 2023 12:14:36 GMT</pubDate></item></channel></rss>