<?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[Error while building Qt from source on Windows]]></title><description><![CDATA[<p dir="auto">After configuring Qt build successfully for static build with msvc<br />
I ran cmake --build . --parallel as the configuration suggested<br />
Then, I faced this error and no idea how to solve it:</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/b3fa8640-c55e-443f-ab91-f7e0d4807cf7.png" alt="Screenshot 2023-11-28 193405.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.qt.io/topic/152445/error-while-building-qt-from-source-on-windows</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 11:35:56 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/152445.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Nov 2023 17:34:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error while building Qt from source on Windows on Wed, 29 Nov 2023 00:18:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sayed_reda">@<bdi>Sayed_Reda</bdi></a><br />
I have added -debug-and-release flag, but that seems to make problems with Qt for some reasons<br />
after removing it, it works fine</p>
]]></description><link>https://forum.qt.io/post/781243</link><guid isPermaLink="true">https://forum.qt.io/post/781243</guid><dc:creator><![CDATA[Sayed_Reda]]></dc:creator><pubDate>Wed, 29 Nov 2023 00:18:58 GMT</pubDate></item><item><title><![CDATA[Reply to Error while building Qt from source on Windows on Wed, 29 Nov 2023 06:12:09 GMT]]></title><description><![CDATA[<p dir="auto">Glad you found a solution.</p>
<p dir="auto">One point to keep in mind, static builds generate bigger libraries and bigger executables, doing a static debug build is not a good idea because of the sheer size of the end results beside the fact that you will need quite a lot of RAM just to load your application.</p>
]]></description><link>https://forum.qt.io/post/781256</link><guid isPermaLink="true">https://forum.qt.io/post/781256</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 29 Nov 2023 06:12:09 GMT</pubDate></item><item><title><![CDATA[Reply to Error while building Qt from source on Windows on Wed, 29 Nov 2023 00:18:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sayed_reda">@<bdi>Sayed_Reda</bdi></a><br />
I have added -debug-and-release flag, but that seems to make problems with Qt for some reasons<br />
after removing it, it works fine</p>
]]></description><link>https://forum.qt.io/post/781243</link><guid isPermaLink="true">https://forum.qt.io/post/781243</guid><dc:creator><![CDATA[Sayed_Reda]]></dc:creator><pubDate>Wed, 29 Nov 2023 00:18:58 GMT</pubDate></item><item><title><![CDATA[Reply to Error while building Qt from source on Windows on Wed, 29 Nov 2023 00:00:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a><br />
I followed the official way via the link you sent and reconfigured Qt in another directory, but the same error persists when building</p>
]]></description><link>https://forum.qt.io/post/781242</link><guid isPermaLink="true">https://forum.qt.io/post/781242</guid><dc:creator><![CDATA[Sayed_Reda]]></dc:creator><pubDate>Wed, 29 Nov 2023 00:00:33 GMT</pubDate></item><item><title><![CDATA[Reply to Error while building Qt from source on Windows on Tue, 28 Nov 2023 22:34:14 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">It might not be related, but you are not following the instructions properly.</p>
<p dir="auto">See <a href="https://doc.qt.io/qt-6/windows-building.html#step-4-build-the-qt-library" target="_blank" rel="noopener noreferrer nofollow ugc">Step 4: Build the Qt Library</a>.</p>
<p dir="auto">Don't do that in the sources folder. Always use a dedicated folder.</p>
]]></description><link>https://forum.qt.io/post/781222</link><guid isPermaLink="true">https://forum.qt.io/post/781222</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 28 Nov 2023 22:34:14 GMT</pubDate></item></channel></rss>