<?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[arg &#96;EXCLUDE_PLUGINS&#96; do not work for &#96;qt_generate_deploy_app_script&#96; command for qt 6.11.0]]></title><description><![CDATA[<p dir="auto">my cmake scripts:</p>
<pre><code>qt_generate_deploy_app_script(
    TARGET demo-app 
    OUTPUT_SCRIPT deploy_script
    NO_UNSUPPORTED_PLATFORM_ERROR
    EXCLUDE_PLUGINS "qtpassthrucanbus;qttinycanbus;qtvirtualcanbus;qtsocketcanbus;qgif;qtga;qtiff;qwbmp;qwebp"
    NO_TRANSLATIONS
)
install(SCRIPT ${deploy_script})
</code></pre>
<p dir="auto">During the cmake install, I found EXCLUDE_PLUGINS do not works, the output still got the plugins which I DO NOT WANT.</p>
<p dir="auto">At the end, I found the implementation of cmake function <code>_qt_internal_get_qt_plugins_to_deploy</code> got typo, miss spell <code>arg_EXCLUDED</code> as <code>arg_EXCLUDE</code>. It roughly located at <code>cmake/Qt6Core/Qt6CoreDeploySupport.cmake:388</code>.<br />
Make it works,  should change :<br />
<code>                _qt_internal_plugin_file_path_match(excluded "${file_path}" "${arg_EXCLUDED}")</code><br />
into<br />
<code>                _qt_internal_plugin_file_path_match(excluded "${file_path}" "${arg_EXCLUDE}")</code></p>
]]></description><link>https://forum.qt.io/topic/164571/arg-exclude_plugins-do-not-work-for-qt_generate_deploy_app_script-command-for-qt-6.11.0</link><generator>RSS for Node</generator><lastBuildDate>Tue, 20 Oct 2026 23:06:38 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/164571.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Apr 2026 03:59:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to arg &#96;EXCLUDE_PLUGINS&#96; do not work for &#96;qt_generate_deploy_app_script&#96; command for qt 6.11.0 on Sat, 18 Apr 2026 12:13:06 GMT]]></title><description><![CDATA[<p dir="auto">Fixed in Qt dev, integration for Qt 6.11 is on the way</p>
]]></description><link>https://forum.qt.io/post/837853</link><guid isPermaLink="true">https://forum.qt.io/post/837853</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Sat, 18 Apr 2026 12:13:06 GMT</pubDate></item><item><title><![CDATA[Reply to arg &#96;EXCLUDE_PLUGINS&#96; do not work for &#96;qt_generate_deploy_app_script&#96; command for qt 6.11.0 on Fri, 17 Apr 2026 13:59:46 GMT]]></title><description><![CDATA[<p dir="auto">Thx for the detailed analysis, this indeed looks like a bug. I've created one here: <a href="https://qt-project.atlassian.net/browse/QTBUG-145874" target="_blank" rel="noopener noreferrer nofollow ugc">https://qt-project.atlassian.net/browse/QTBUG-145874</a></p>
]]></description><link>https://forum.qt.io/post/837822</link><guid isPermaLink="true">https://forum.qt.io/post/837822</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Fri, 17 Apr 2026 13:59:46 GMT</pubDate></item></channel></rss>