<?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[Can&#x27;t update Qt from 5.12 to 5.15]]></title><description><![CDATA[<p dir="auto">Hi, I have Qt 5.12 in my Ubuntu PC. But I have to update it to 5.15. So, I downloaded 5.15 and installed it but when I type <strong>qmake --version</strong> to Konsole, it still shows 5.12 and I cannot run the application I want.</p>
<p dir="auto">To download and build, I followed the instructions <a href="https://wiki.qt.io/Building_Qt_5_from_Git" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>. I'm not using Qt Online Installer.</p>
]]></description><link>https://forum.qt.io/topic/141998/can-t-update-qt-from-5-12-to-5-15</link><generator>RSS for Node</generator><lastBuildDate>Sun, 03 May 2026 00:13:20 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/141998.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Jan 2023 09:43:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can&#x27;t update Qt from 5.12 to 5.15 on Fri, 06 Jan 2023 14:41:13 GMT]]></title><description><![CDATA[<p dir="auto">@kimi-raikkonen install Qt5.15 under /opt/Qt(this is the default installation of Qt installer). Add its qmake path in front of other paths<br />
for example:<br />
export PATH=/opt/Qt/5.15.2/gcc_64/bin:$PATH<br />
this has to be set in your shell which will trigger the setting whenever you open a terminal.<br />
Or you purge 5.12 and the path order will not matter anymore.</p>
]]></description><link>https://forum.qt.io/post/742816</link><guid isPermaLink="true">https://forum.qt.io/post/742816</guid><dc:creator><![CDATA[JoeCFD]]></dc:creator><pubDate>Fri, 06 Jan 2023 14:41:13 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t update Qt from 5.12 to 5.15 on Fri, 06 Jan 2023 14:22:33 GMT]]></title><description><![CDATA[<p dir="auto">How did you install Qt 5.15 ? With configure? With cmake? Other way?<br />
During the installation, did you set a specific directory where to install Qt 5.15?</p>
]]></description><link>https://forum.qt.io/post/742813</link><guid isPermaLink="true">https://forum.qt.io/post/742813</guid><dc:creator><![CDATA[odelaune]]></dc:creator><pubDate>Fri, 06 Jan 2023 14:22:33 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t update Qt from 5.12 to 5.15 on Fri, 06 Jan 2023 11:08:14 GMT]]></title><description><![CDATA[<p dir="auto">I doubt you installed your new Qt to /usr - at least i hope you did not do it. Add the correct path to your qmake from Qt5.15</p>
]]></description><link>https://forum.qt.io/post/742769</link><guid isPermaLink="true">https://forum.qt.io/post/742769</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Fri, 06 Jan 2023 11:08:14 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t update Qt from 5.12 to 5.15 on Fri, 06 Jan 2023 10:59:26 GMT]]></title><description><![CDATA[<p dir="auto">All right. In order to put the directory before others, these are my last steps:</p>
<p dir="auto"><strong>1)</strong> $ export PATH=/usr/lib/x86_64-linux-gnu<br />
<strong>2)</strong> $ qmake --version</p>
<p dir="auto">Command 'qmake' is available in the following places</p>
<ul>
<li>/bin/qmake</li>
<li>/usr/bin/qmake<br />
The command could not be located because <strong>'/usr/bin:/bin'</strong> is not included in the PATH environment variable.<br />
qmake: command not found</li>
</ul>
<p dir="auto"><strong>3)</strong> So, I added <strong>/usr/bin:/bin</strong> by</p>
<pre><code>$ export PATH=$PATH:/usr/bin:/bin
</code></pre>
<p dir="auto"><strong>4)</strong> <strong>qmake --version</strong> again and nothing happened. Qt version is still 5.12.</p>
<p dir="auto">$ echo $PATH shows:</p>
<pre><code>/usr/lib/x86_64-linux-gnu:/usr/bin:/bin
</code></pre>
]]></description><link>https://forum.qt.io/post/742767</link><guid isPermaLink="true">https://forum.qt.io/post/742767</guid><dc:creator><![CDATA[kimi.raikkonen]]></dc:creator><pubDate>Fri, 06 Jan 2023 10:59:26 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t update Qt from 5.12 to 5.15 on Fri, 06 Jan 2023 10:08:28 GMT]]></title><description><![CDATA[<p dir="auto">@kimi-raikkonen said in <a href="/post/742758">Can't update Qt from 5.12 to 5.15</a>:</p>
<blockquote>
<p dir="auto">Then I did qmake --version again, still shows 5.12.</p>
</blockquote>
<p dir="auto">Because you added your path at the end and the other qmake is in a directory before yours so this is picked up.</p>
]]></description><link>https://forum.qt.io/post/742760</link><guid isPermaLink="true">https://forum.qt.io/post/742760</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Fri, 06 Jan 2023 10:08:28 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t update Qt from 5.12 to 5.15 on Fri, 06 Jan 2023 10:06:09 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the reply. Ok, my Qt5 libs are located at the following path. So, I extended my PATH by:</p>
<pre><code>export PATH=$PATH:/usr/lib/x86_64-linux-gnu
</code></pre>
<p dir="auto">Then I did <strong>qmake --version</strong> again, still shows 5.12.</p>
]]></description><link>https://forum.qt.io/post/742758</link><guid isPermaLink="true">https://forum.qt.io/post/742758</guid><dc:creator><![CDATA[kimi.raikkonen]]></dc:creator><pubDate>Fri, 06 Jan 2023 10:06:09 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t update Qt from 5.12 to 5.15 on Fri, 06 Jan 2023 09:46:41 GMT]]></title><description><![CDATA[<p dir="auto">You have to make sure you call the correct qmake from the newly installed Qt version by e.g. extending your PATH environment variable or using the absolute path to the correct qmake executable.</p>
]]></description><link>https://forum.qt.io/post/742755</link><guid isPermaLink="true">https://forum.qt.io/post/742755</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Fri, 06 Jan 2023 09:46:41 GMT</pubDate></item></channel></rss>