<?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. Building from source. -dynamic]]></title><description><![CDATA[<ul>
<li>configure.bat -top-level -debug -dynamic -prefix .\lib-debug<br />
-- Windows 10 SDK version: 10.0.20348.0<br />
CMake Error at qtbase/cmake/QtProcessConfigureArgs.cmake:300 (message):<br />
Unknown command line option '-dynamic'.<br />
Call Stack (most recent call first):<br />
qtbase/cmake/QtProcessConfigureArgs.cmake:685 (qtConfAddError)</li>
</ul>
<p dir="auto">I'm trying to compile 6.6 beta sources. I get this error based on your documentation:</p>
<p dir="auto"><a href="https://doc.qt.io/qt-6.4/configure-options.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-6.4/configure-options.html</a><br />
"Static and Shared Builds</p>
<p dir="auto">Qt Modules can be built as separate libraries that an executable links to and loads at start time (for Qt libraries), or runtime (for Qt plugins). This is called a shared build and is the default configuration on most platforms. The matching configure option is <strong>-dynamic</strong>. (Emphasis added)</p>
<p dir="auto">You can also build Qt such that an executable binary will include all Qt modules it links to and all Qt plugins it needs. This is called a static build and can be selected when configuring with the -static option."</p>
<p dir="auto">Can you tell me how to use parameter -dynamic ?</p>
]]></description><link>https://forum.qt.io/topic/145770/qt-building-from-source-dynamic</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Nov 2026 01:13:18 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/145770.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Jun 2023 16:48:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QT. Building from source. -dynamic on Wed, 14 Jun 2023 17:09:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/polywickstudio">@<bdi>PolywickStudio</bdi></a> hi,</p>
<p dir="auto">By default, the build is dynamic so you should not need that option. That said, it looks like either the documentation is wrong or the script.</p>
<p dir="auto">I would suggest that you check the <a href="https://bugreports.qt.io" target="_blank" rel="noopener noreferrer nofollow ugc">bug report system</a> to see if there's already something about it and if not, please open a new ticket.</p>
]]></description><link>https://forum.qt.io/post/761442</link><guid isPermaLink="true">https://forum.qt.io/post/761442</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 14 Jun 2023 17:09:31 GMT</pubDate></item></channel></rss>