<?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 5.15.2 build error]]></title><description><![CDATA[<p dir="auto">I want to install Qt5 compiling source on a Linux Ubuntu 23.10 OS (Mantic)<br />
I download the qt-everywhere-src-5.15.2.tar.gz file from the Qt<br />
(<a href="http://download.qt.io/archive/qt/5.15/5.15.2/single" target="_blank" rel="noopener noreferrer nofollow ugc">http://download.qt.io/archive/qt/5.15/5.15.2/single</a> page</p>
<p dir="auto">after unzipping this file, i did a shadow building, that i create a qt-everywhere-src-5.15.2-build directory out of the src file.<br />
i run inside the build directory, the configure file</p>
<p dir="auto">cd ~/qt-everywhere-src-5.15.2-build<br />
~/ qt-everywhere-src-5.15.2/configure</p>
<p dir="auto">I should modify the ~/qt-everywhere-src-5.15.2/qtbase/src/corelib/global/qglobal.h file to avoid a first error (error : ‘numeric_limits’ is not a class template..)</p>
<p dir="auto">Such an error is documented on the web. One should add the three first lines to the qglobal.h header file</p>
<p dir="auto">#ifdef __cplusplus<br />
#include&lt;limits&gt;<br />
#endif</p>
<p dir="auto">Afterthat configure is successfull and generate makefiles in the ~/qt-everywhere-src-5.15.2-build  repertory</p>
<p dir="auto">I ran then make but have the following error<br />
<img src="https://ddgobkiprc33d.cloudfront.net/016a4684-5451-4435-a33d-a4c9f26cbe4d.png" alt="29e13107-ae74-4ce9-bff7-59b72f9e8aa3-image.png" class=" img-fluid img-markdown" /><br />
I try on a second PC the same process. I note that on this other PC the output lines were different since it request that llvm-config file is in the PATH<br />
<img src="https://ddgobkiprc33d.cloudfront.net/a9b7c433-d7d8-4e85-ae98-cb03ca7dde94.png" alt="4be9e19f-ca3f-4c6f-8e19-cbcba8f2268f-image.png" class=" img-fluid img-markdown" /><br />
So i add in my .basrhc file ‘export PATH=${PATH}:/usr/lib/llvm-13/bin’<br />
<img src="https://ddgobkiprc33d.cloudfront.net/e14f7711-847c-4631-b6eb-545eaf07e4ff.png" alt="e8091060-87ba-4fc0-98fe-5b5559d4a83d-image.png" class=" img-fluid img-markdown" /><br />
In addition i add différents packages with synaptic :<br />
<img src="https://ddgobkiprc33d.cloudfront.net/248f6461-2f4a-4202-8f83-cbde7ebe182e.png" alt="23ed54cd-ef82-4d38-9559-3c16db07db06-image.png" class=" img-fluid img-markdown" /><br />
I ran again make put get same error.</p>
<p dir="auto">I did not found any information on the web on such an error</p>
]]></description><link>https://forum.qt.io/topic/154827/qt-5-15-2-build-error</link><generator>RSS for Node</generator><lastBuildDate>Tue, 07 Jul 2026 02:02:56 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/154827.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Feb 2024 12:53:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt 5.15.2 build error on Sun, 25 Feb 2024 18:20:21 GMT]]></title><description><![CDATA[<p dir="auto">As already written - you most likely use a wrong ancient compiler instead the one you're thinking you use.<br />
Make sure to really use the correct one. run make with <code>VERBOSE=1</code> to see the actual compiler invocations.</p>
]]></description><link>https://forum.qt.io/post/791348</link><guid isPermaLink="true">https://forum.qt.io/post/791348</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Sun, 25 Feb 2024 18:20:21 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.15.2 build error on Sun, 25 Feb 2024 18:04:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> i did it but got the following error<br />
<img src="https://ddgobkiprc33d.cloudfront.net/1d70ee21-318c-4fa4-a141-034ded414354.png" alt="9ed149ca-fa43-4067-a6f4-0b07187defef-T30.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.qt.io/post/791346</link><guid isPermaLink="true">https://forum.qt.io/post/791346</guid><dc:creator><![CDATA[montarou]]></dc:creator><pubDate>Sun, 25 Feb 2024 18:04:00 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.15.2 build error on Fri, 23 Feb 2024 20:08:33 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Since you are building Qt yourself, you should also grab the sources of the latest available version in the series.</p>
]]></description><link>https://forum.qt.io/post/791148</link><guid isPermaLink="true">https://forum.qt.io/post/791148</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 23 Feb 2024 20:08:33 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.15.2 build error on Fri, 23 Feb 2024 09:53:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/montarou">@<bdi>montarou</bdi></a> then I would not expect such an error since this is plain c++11. Make sure the correct compiler is used.</p>
]]></description><link>https://forum.qt.io/post/791102</link><guid isPermaLink="true">https://forum.qt.io/post/791102</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Fri, 23 Feb 2024 09:53:52 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.15.2 build error on Fri, 23 Feb 2024 09:27:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/christian-ehrlicher">@<bdi>Christian-Ehrlicher</bdi></a> i use gcc 13.2.0</p>
]]></description><link>https://forum.qt.io/post/791099</link><guid isPermaLink="true">https://forum.qt.io/post/791099</guid><dc:creator><![CDATA[montarou]]></dc:creator><pubDate>Fri, 23 Feb 2024 09:27:52 GMT</pubDate></item><item><title><![CDATA[Reply to Qt 5.15.2 build error on Thu, 22 Feb 2024 13:07:12 GMT]]></title><description><![CDATA[<p dir="auto">What gcc version do you use for compiling? Looks like it is to old.</p>
]]></description><link>https://forum.qt.io/post/791020</link><guid isPermaLink="true">https://forum.qt.io/post/791020</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Thu, 22 Feb 2024 13:07:12 GMT</pubDate></item></channel></rss>