<?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[Building and shipping QT 6.10 on RHEL 8]]></title><description><![CDATA[<p dir="auto">Hi, I was working on a project with QT <strong>6.11</strong> dependencies.</p>
<p dir="auto">That project needs RHEL 8 as minimum supported version. QT 6.11 <strong>prebuilt binaries are not available on RHEL 8</strong>. But the QT support matrix mentions <strong>RHEL 8 with gcc-toolset-10 as supported</strong>.</p>
<p dir="auto">Do I need to build QT (along with WebEngine - need that as well) on RHEL 8 and then ship those binaries along with my application?</p>
<p dir="auto">Is it safe and stable to do so? What risks I am signing up for if I build Qt and web engine on RHEL 8 and build/ship deb and rpm packages from RHEL 8 for all other Linux distros?</p>
<p dir="auto">What are the best practices and general recommendations for such cases?</p>
<p dir="auto">Also, QT mentions <code>gcc-toolset-10</code> but project uses C++23 features, so I need to build with <code> gcc-toolset-13</code> as minimum. Would that create issues?</p>
<p dir="auto">Note: I use LGPL license not commercial.</p>
<p dir="auto">Apologies if I am asking basic questions. I am new to this kind of stuff.<br />
Thank you! Looking forward for your suggestions.</p>
]]></description><link>https://forum.qt.io/topic/164815/building-and-shipping-qt-6.10-on-rhel-8</link><generator>RSS for Node</generator><lastBuildDate>Mon, 29 Jun 2026 19:55:44 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/164815.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 21 Jun 2026 04:16:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Building and shipping QT 6.10 on RHEL 8 on Thu, 25 Jun 2026 07:20:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> Thanks for the clarification. LD_LIBRARY_PATH and other dynamic linker features are great development tools.</p>
]]></description><link>https://forum.qt.io/post/838883</link><guid isPermaLink="true">https://forum.qt.io/post/838883</guid><dc:creator><![CDATA[jeremy_k]]></dc:creator><pubDate>Thu, 25 Jun 2026 07:20:45 GMT</pubDate></item><item><title><![CDATA[Reply to Building and shipping QT 6.10 on RHEL 8 on Thu, 25 Jun 2026 06:14:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jeremy_k">@<bdi>jeremy_k</bdi></a> I agree, the user environment shall be left untouched. I meant doing that through a launcher script for your application.</p>
<p dir="auto">I fixed the wording.</p>
]]></description><link>https://forum.qt.io/post/838882</link><guid isPermaLink="true">https://forum.qt.io/post/838882</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 25 Jun 2026 06:14:40 GMT</pubDate></item><item><title><![CDATA[Reply to Building and shipping QT 6.10 on RHEL 8 on Thu, 25 Jun 2026 04:42:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> said in <a href="/post/838880">Building and shipping QT 6.10 on RHEL 8</a>:</p>
<blockquote>
<p dir="auto">Yes it's a good way, I am recommending the script and LD_LIBRARY_PATH to add another level of certainty to the search paths.</p>
</blockquote>
<p dir="auto">I'd caution against setting or expecting LD_LIBRARY_PATH in a user's environment. The same applies to any commonly used environment variable. That risks impacting programs started by child processes in unfortunate ways.<br />
For a real world example, <a href="https://github.com/pyinstaller/pyinstaller/issues/4657" target="_blank" rel="noopener noreferrer nofollow ugc">PyInstaller</a> sets LD_LIBRARY_PATH to force loading of bundled libraries. In my application, that prevented launching a web browser to view html documentation due to an incompatible bundled library.</p>
]]></description><link>https://forum.qt.io/post/838881</link><guid isPermaLink="true">https://forum.qt.io/post/838881</guid><dc:creator><![CDATA[jeremy_k]]></dc:creator><pubDate>Thu, 25 Jun 2026 04:42:30 GMT</pubDate></item><item><title><![CDATA[Reply to Building and shipping QT 6.10 on RHEL 8 on Thu, 25 Jun 2026 06:15:21 GMT]]></title><description><![CDATA[<ol>
<li>If you want to build things yourself, then yes, you should monitor your dependencies.</li>
<li>Long, lots of RAM and disk space due to chromium, I have no specific knowledge for that part. QtWebEngine is a module that I avoid building as much as possible.</li>
<li>Yes it's a good way, I am recommending the launcher script changing LD_LIBRARY_PATH and starting your application to add another level of certainty to the search paths. However, don't touch the user environment.</li>
<li>if you are testing on all your official targets, it should be good. As for GPUs, are you going to make anything specific for them ?</li>
</ol>
]]></description><link>https://forum.qt.io/post/838880</link><guid isPermaLink="true">https://forum.qt.io/post/838880</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 25 Jun 2026 06:15:21 GMT</pubDate></item><item><title><![CDATA[Reply to Building and shipping QT 6.10 on RHEL 8 on Sun, 21 Jun 2026 19:41:27 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the clarification.</p>
<p dir="auto">A few follow-up questions:</p>
<ol>
<li>
<p dir="auto">If I build and bundle Qt 6.11 + QtWebEngine myself on RHEL 8, what is the usual process for tracking bug-fix and security updates? Do teams typically monitor Qt releases and manually rebuild/retest for each 6.11.x update?</p>
</li>
<li>
<p dir="auto">Are there any special considerations for building QtWebEngine (build time, hardware requirements, common issues on RHEL 8)?</p>
</li>
<li>
<p dir="auto">My plan is to bundle Qt libraries with the application and use RPATH/RUNPATH instead of relying on system Qt packages. Is this considered a recommended deployment approach?</p>
</li>
<li>
<p dir="auto">Regarding gcc-toolset-13 and C++23: if both Qt and the application are built with GCC 13, is the main requirement simply thorough testing on the target distributions, or are there additional compatibility concerns I should be aware of? GPU stacks are a concern?</p>
</li>
</ol>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.qt.io/post/838848</link><guid isPermaLink="true">https://forum.qt.io/post/838848</guid><dc:creator><![CDATA[Dan D]]></dc:creator><pubDate>Sun, 21 Jun 2026 19:41:27 GMT</pubDate></item><item><title><![CDATA[Reply to Building and shipping QT 6.10 on RHEL 8 on Sun, 21 Jun 2026 18:46:42 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">There's not problem using a more recent compiler.<br />
Qt requires a minimal C++ standard, and it's C++17 currently if memory serves well, but that does not forbid you to use a more recent standard.</p>
<p dir="auto">As for building and shipping Qt along your application, you will need to have a starter script that ensures your application folder is searched first for their dependencies.<br />
You might also want to consider building Qt using a custom namespace so as no to clash with the system provided Qt.</p>
]]></description><link>https://forum.qt.io/post/838847</link><guid isPermaLink="true">https://forum.qt.io/post/838847</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sun, 21 Jun 2026 18:46:42 GMT</pubDate></item></channel></rss>