<?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[Cannot find configure file in Qt directory!]]></title><description><![CDATA[<p dir="auto">Hi, i am using Linux with KDE (Kubuntu)</p>
<p dir="auto">I installed QtCreator and installed the needed tools using the "Qt Maintenance Tool"</p>
<p dir="auto">Installed: Qt 6.4.2 (all components), Developer and Designer Tools (all components), Qt Design Studio 3.9.0</p>
<p dir="auto">QT is installed in <code>/home/user/Qt</code></p>
<p dir="auto">I am trying to statically build a simple hello world CLI app following this guide: <a href="https://doc.qt.io/qt-6/linux-deployment.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-6/linux-deployment.html</a></p>
<p dir="auto">I cannot find the <code>configure</code> file in <code>/home/user/Qt</code>, why is that ? and is there a way to build a static binary from inside QtCreator ?</p>
]]></description><link>https://forum.qt.io/topic/142396/cannot-find-configure-file-in-qt-directory</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 15:43:21 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/142396.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 24 Jan 2023 04:00:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot find configure file in Qt directory! on Wed, 25 Jan 2023 06:25:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pete-carter">@<bdi>Pete-Carter</bdi></a> Just to add to <a class="plugin-mentions-user plugin-mentions-a" href="/user/jksh">@<bdi>JKSH</bdi></a> : if you use static build of Qt you have to consider the obligations of LGPL! Unless you have a commercial license.</p>
]]></description><link>https://forum.qt.io/post/745111</link><guid isPermaLink="true">https://forum.qt.io/post/745111</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Wed, 25 Jan 2023 06:25:52 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find configure file in Qt directory! on Wed, 25 Jan 2023 06:24:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pete-carter">@<bdi>Pete-Carter</bdi></a> said in <a href="/post/745109">Cannot find configure file in Qt directory!</a>:</p>
<blockquote>
<p dir="auto">I don't know why QtCreator has no option to compile statically ?!</p>
</blockquote>
<p dir="auto">We recommend dynamic linking for most use-cases. Also, static libraries are HUGE! (Dynamic Qt is already huge; the resources required to host static Qt for users to download would be insane)</p>
<p dir="auto">If you want static linking, then you must build the static libraries from source.</p>
<blockquote>
<p dir="auto">even produce packages like .deb and .Appimage.</p>
</blockquote>
<p dir="auto">You can.</p>
<ul>
<li>Qt/CMake/CPack officially supports .deb packages: <a href="https://www.qt.io/blog/deploying-to-linux-with-cmake" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.qt.io/blog/deploying-to-linux-with-cmake</a></li>
<li>You can use a 3rd-party tool to create AppImages: <a href="https://github.com/probonopd/linuxdeployqt" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/probonopd/linuxdeployqt</a></li>
</ul>
]]></description><link>https://forum.qt.io/post/745110</link><guid isPermaLink="true">https://forum.qt.io/post/745110</guid><dc:creator><![CDATA[JKSH]]></dc:creator><pubDate>Wed, 25 Jan 2023 06:24:57 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find configure file in Qt directory! on Wed, 25 Jan 2023 06:06:31 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the help. Compiling takes too much time, i have done it once using the source i downloaded from the website but haven't had the <code>/home/user/Qt/lib</code> as the docs say <a href="https://doc.qt.io/qt-6/linux-deployment.html#building-qt-statically" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-6/linux-deployment.html#building-qt-statically</a></p>
<p dir="auto">will try compiling the source at <code>/home/user/Qt/6.4.2/Src</code> and see what happens ...</p>
<p dir="auto">I don't know why QtCreator has no option to compile statically ?! It would be nice if the developer can produce in independent static binary from within QtCreator and even produce  packages like .deb and .Appimage.</p>
]]></description><link>https://forum.qt.io/post/745109</link><guid isPermaLink="true">https://forum.qt.io/post/745109</guid><dc:creator><![CDATA[Pete Carter]]></dc:creator><pubDate>Wed, 25 Jan 2023 06:06:31 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find configure file in Qt directory! on Wed, 25 Jan 2023 02:10:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pete-carter">@<bdi>Pete-Carter</bdi></a> said in <a href="/post/745069">Cannot find configure file in Qt directory!</a>:</p>
<blockquote>
<p dir="auto">I downloaded the source from the "Qt Maintenance Tool" but cannot find it</p>
</blockquote>
<p dir="auto">If you downloaded using <code>/home/user/Qt/MaintenanceTool</code></p>
<p dir="auto">...then the configure script is at <code>/home/user/Qt/6.4.2/Src/configure</code></p>
]]></description><link>https://forum.qt.io/post/745098</link><guid isPermaLink="true">https://forum.qt.io/post/745098</guid><dc:creator><![CDATA[JKSH]]></dc:creator><pubDate>Wed, 25 Jan 2023 02:10:54 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find configure file in Qt directory! on Tue, 24 Jan 2023 18:27:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jksh">@<bdi>JKSH</bdi></a> said in <a href="/post/744930">Cannot find configure file in Qt directory!</a>:</p>
<blockquote>
<p dir="auto">The configure file is from the source code.</p>
</blockquote>
<p dir="auto">I downloaded the source from the "Qt Maintenance Tool" but cannot find it, is it necessary to download the source again from <a href="https://download.qt.io/official_releases/qt/6.4/6.4.2/single/" target="_blank" rel="noopener noreferrer nofollow ugc">https://download.qt.io/official_releases/qt/6.4/6.4.2/single/</a> ?</p>
]]></description><link>https://forum.qt.io/post/745069</link><guid isPermaLink="true">https://forum.qt.io/post/745069</guid><dc:creator><![CDATA[Pete Carter]]></dc:creator><pubDate>Tue, 24 Jan 2023 18:27:15 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot find configure file in Qt directory! on Tue, 24 Jan 2023 04:37:29 GMT]]></title><description><![CDATA[<p dir="auto">Hi, and welcome!</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pete-carter">@<bdi>Pete-Carter</bdi></a> said in <a href="/post/744929">Cannot find configure file in Qt directory!</a>:</p>
<blockquote>
<p dir="auto">I am trying to statically build a simple hello world CLI app following this guide: <a href="https://doc.qt.io/qt-6/linux-deployment.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-6/linux-deployment.html</a></p>
<p dir="auto">I cannot find the <code>configure</code> file in <code>/home/user/Qt</code>, why is that ? and is there a way to build a static binary from inside QtCreator ?</p>
</blockquote>
<p dir="auto">The installer only provides dynamic libraries, which cannot be used for statically-linked applications. If you want static linking, you must build static Qt libraries from source code.</p>
<p dir="auto">The <code>configure</code> file is from the source code. You can get it from <a href="https://download.qt.io/official_releases/qt/6.4/6.4.2/single/" target="_blank" rel="noopener noreferrer nofollow ugc">https://download.qt.io/official_releases/qt/6.4/6.4.2/single/</a> (the <code>*.tar.xz</code> file is for Linux) or from Git: <a href="https://wiki.qt.io/Building_Qt_6_from_Git" target="_blank" rel="noopener noreferrer nofollow ugc">https://wiki.qt.io/Building_Qt_6_from_Git</a></p>
]]></description><link>https://forum.qt.io/post/744930</link><guid isPermaLink="true">https://forum.qt.io/post/744930</guid><dc:creator><![CDATA[JKSH]]></dc:creator><pubDate>Tue, 24 Jan 2023 04:37:29 GMT</pubDate></item></channel></rss>