<?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[Qt5 static doesn&#x27;t compile.]]></title><description><![CDATA[<p dir="auto">Hi ppl!</p>
<p dir="auto">Happy End-of-the-World-2012 events!</p>
<p dir="auto">I'm trying to build some minimalistic static Qt 5.0.0. I'm forcing all what looks not need to be disabled by build options.</p>
<p dir="auto">@<br />
call ..\qt-5.0.0\configure.bat -platform win32-msvc2010 ^<br />
-xplatform win32-msvc2010_s_mini -debug-and-release -static ^<br />
-no-accessibility -no-sql-sqlite -no-sql-sqlite2 ^<br />
-no-sql-mysql -no-sql-psql -no-opengl -no-openvg ^<br />
-no-audio-backend ^<br />
-no-sse2 -no-sse3 -no-ssse3 ^<br />
-no-sse4.1 -no-sse4.2 -no-avx -no-avx2 -no-gif ^<br />
-qt-libpng -no-libjpeg -no-openssl -no-dbus ^<br />
-no-style-fusion ^<br />
-confirm-license -opensource<br />
@</p>
<p dir="auto">But what I get is this:</p>
<p dir="auto">@<br />
QMAKESPEC...................win32-msvc2010_s_mini (commandline)<br />
Architecture................i386, features:<br />
Host Architecture...........i386, features:<br />
Maketool....................nmake<br />
Debug build.................yes (combined)<br />
Default build...............debug<br />
Force debug info............no<br />
C++11 support...............auto<br />
Link Time Code Generation...no<br />
Accessibility support.......no<br />
RTTI support................yes<br />
SSE2 support................no<br />
SSE3 support................no<br />
SSSE3 support...............no<br />
SSE4.1 support..............no<br />
SSE4.2 support..............no<br />
AVX support.................no<br />
AVX2 support................no<br />
NEON support................no<br />
IWMMXT support..............no<br />
OpenGL support..............no<br />
Large File support..........yes<br />
NIS support.................no<br />
Iconv support...............no<br />
Inotify support.............no<br />
Glib support................no<br />
CUPS support................no<br />
OpenVG support..............no<br />
OpenSSL support.............no<br />
QtDBus support..............no<br />
QtWidgets module support....yes<br />
QML debugging...............yes<br />
DirectWrite support.........no<br />
Use system proxies..........no</p>
<p dir="auto">Third Party Libraries:<br />
ZLIB support............qt<br />
GIF support.............no<br />
JPEG support............no<br />
PNG support.............yes<br />
FreeType support........yes</p>
<pre><code>PCRE support............qt
ICU support.............no
ANGLE...................no
</code></pre>
<p dir="auto">Styles:<br />
Windows.................yes<br />
Windows XP..............yes<br />
Windows Vista...........yes<br />
Fusion..................no<br />
Windows CE..............no<br />
Windows Mobile..........no</p>
<p dir="auto">Sql Drivers:<br />
ODBC....................no<br />
MySQL...................no<br />
OCI.....................no<br />
PostgreSQL..............no<br />
TDS.....................no<br />
DB2.....................no<br />
SQLite..................no (qt)<br />
SQLite2.................no<br />
InterBase...............no</p>
<p dir="auto">Sources are in..............C:\Qt\qt-5.0.0\qtbase<br />
Build is done in............C:\Qt\qt-5.0.0-msvc2010_x86_s_mini\qtbase<br />
Install prefix..............C:\Qt\qt-5.0.0-msvc2010_x86_s_mini\qtbase<br />
Headers installed to........C:\Qt\qt-5.0.0-msvc2010_x86_s_mini\qtbase\include<br />
Libraries installed to......C:\Qt\qt-5.0.0-msvc2010_x86_s_mini\qtbase\lib<br />
Arch-dep. data to...........C:\Qt\qt-5.0.0-msvc2010_x86_s_mini\qtbase<br />
Plugins installed to........C:\Qt\qt-5.0.0-msvc2010_x86_s_mini\qtbase\plugins<br />
Library execs installed to..<br />
QML1 imports installed to...C:\Qt\qt-5.0.0-msvc2010_x86_s_mini\qtbase\imports<br />
QML2 imports installed to...C:\Qt\qt-5.0.0-msvc2010_x86_s_mini\qtbase\qml<br />
Binaries installed to.......C:\Qt\qt-5.0.0-msvc2010_x86_s_mini\qtbase\bin<br />
Arch-indep. data to.........C:\Qt\qt-5.0.0-msvc2010_x86_s_mini\qtbase<br />
Docs installed to...........C:\Qt\qt-5.0.0-msvc2010_x86_s_mini\qtbase\doc<br />
Translations installed to...C:\Qt\qt-5.0.0-msvc2010_x86_s_mini\qtbase\translatio<br />
ns<br />
Examples installed to.......C:\Qt\qt-5.0.0-msvc2010_x86_s_mini\qtbase\examples<br />
Tests installed to..........C:\Qt\qt-5.0.0-msvc2010_x86_s_mini\qtbase\tests<br />
WARNING: Using static linking will disable the use of plugins.<br />
Make sure you compile ALL needed modules into the library.</p>
<p dir="auto">Generating Visual Studio project files...<br />
Project WARNING: You should probably load(qt_build_config) first in <a href="http://bootstrap.pr" target="_blank" rel="noopener noreferrer nofollow ugc">bootstrap.pr</a><br />
o for QtBootstrap, as the latter also load()s qt_module.<br />
Project MESSAGE: Not doing so may lead to qt_module.prf overriding compiler/link<br />
er options in your .pro file.<br />
Project MESSAGE: Ignore this warning with CONFIG+=no_qt_module_warning if you kn<br />
ow what you are doing.<br />
Project ERROR: Project has no top-level .qmake.conf file.<br />
Qmake failed, return code 3</p>
<p dir="auto">Generating Makefiles...<br />
*** qtbase/configure exited with non-zero status.<br />
@</p>
<p dir="auto">What this error message can mean and how I can fix it?</p>
<p dir="auto">Actually, the win32-msvc2010_s_mini is a copy of original win32-msvc2010 with some minor twicks.</p>
<p dir="auto">WBR,<br />
AG</p>
]]></description><link>https://forum.qt.io/topic/22441/qt5-static-doesn-t-compile</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Sep 2026 07:52:13 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/22441.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 21 Dec 2012 21:47:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt5 static doesn&#x27;t compile. on Sun, 28 Apr 2013 05:10:34 GMT]]></title><description><![CDATA[<p dir="auto">I have the same problem for configure shared lib.</p>
<p dir="auto">I found the solution<br />
copy .qmake.conf to</p>
<p dir="auto">qtbase\src\corelib<br />
qtbase\src\gui<br />
....<br />
every directionary</p>
]]></description><link>https://forum.qt.io/post/174840</link><guid isPermaLink="true">https://forum.qt.io/post/174840</guid><dc:creator><![CDATA[andyjy12]]></dc:creator><pubDate>Sun, 28 Apr 2013 05:10:34 GMT</pubDate></item><item><title><![CDATA[Reply to Qt5 static doesn&#x27;t compile. on Thu, 28 Mar 2013 10:51:08 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, I'll try this way too. The QMAKESPEC variable was NOT set in my case.</p>
]]></description><link>https://forum.qt.io/post/171986</link><guid isPermaLink="true">https://forum.qt.io/post/171986</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 28 Mar 2013 10:51:08 GMT</pubDate></item><item><title><![CDATA[Reply to Qt5 static doesn&#x27;t compile. on Thu, 28 Mar 2013 09:59:39 GMT]]></title><description><![CDATA[<p dir="auto">Had the same issue. (setup: Win7_x86 &amp; VS2010express &amp; qt5 from git)<br />
Solved it by setting environment variable @set QMAKESPEC=%QtDir%\qtbase\mkspecs\win32-msvc2010@</p>
<p dir="auto">with QtDir pointing to git folder and running following configure command (notice "-fully-process" flag)</p>
<p dir="auto">@configure -developer-build -opensource -nomake examples -nomake tests -opengl desktop -mp -fully-process -confirm-license@</p>
<p dir="auto">BR</p>
]]></description><link>https://forum.qt.io/post/171982</link><guid isPermaLink="true">https://forum.qt.io/post/171982</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 28 Mar 2013 09:59:39 GMT</pubDate></item><item><title><![CDATA[Reply to Qt5 static doesn&#x27;t compile. on Fri, 22 Mar 2013 07:01:38 GMT]]></title><description><![CDATA[<p dir="auto">Thanks! I'll try -no-vcproj too.</p>
]]></description><link>https://forum.qt.io/post/171073</link><guid isPermaLink="true">https://forum.qt.io/post/171073</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Fri, 22 Mar 2013 07:01:38 GMT</pubDate></item><item><title><![CDATA[Reply to Qt5 static doesn&#x27;t compile. on Fri, 22 Mar 2013 03:53:47 GMT]]></title><description><![CDATA[<p dir="auto">it's having trouble creating the VS project files.<br />
the easy solution is to not create them using  -no-vcproj</p>
]]></description><link>https://forum.qt.io/post/171064</link><guid isPermaLink="true">https://forum.qt.io/post/171064</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Fri, 22 Mar 2013 03:53:47 GMT</pubDate></item><item><title><![CDATA[Reply to Qt5 static doesn&#x27;t compile. on Mon, 04 Mar 2013 18:18:36 GMT]]></title><description><![CDATA[<p dir="auto">I am getting this error after this commit. Did you find any solution for this?<br />
"Fix for QTBUG-29400":<a href="https://codereview.qt-project.org/#patch,sidebyside,46350,1,tools/configure/configureapp.cpp" target="_blank" rel="noopener noreferrer nofollow ugc">https://codereview.qt-project.org/#patch,sidebyside,46350,1,tools/configure/configureapp.cpp</a></p>
]]></description><link>https://forum.qt.io/post/169132</link><guid isPermaLink="true">https://forum.qt.io/post/169132</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Mon, 04 Mar 2013 18:18:36 GMT</pubDate></item><item><title><![CDATA[Reply to Qt5 static doesn&#x27;t compile. on Tue, 25 Dec 2012 14:16:09 GMT]]></title><description><![CDATA[<p dir="auto">I did complete download of .zip package. The same package actually compiles shared for x86/x64 msvc2010 and for mingw32 but this setup/config does not compile.</p>
<p dir="auto">I know I'm cheating a little because I disable nearly everything to make size smaller but as far I do not patch any files in the package the configure.exe should not fail. at least I must say what something depends from disable component, proceed the process and actually finish the preparation. At lease it is how I imagine things. So I assume it is a BUG.</p>
<p dir="auto">What I also noticed that qtbase folder contains the desired Makefile but the root folder of the Qt package does not. So, I was able to build qtbase I need, but rest is seams to be in bad shape - the configure.exe did not made the rest...</p>
<p dir="auto">WBR,<br />
AG</p>
]]></description><link>https://forum.qt.io/post/160631</link><guid isPermaLink="true">https://forum.qt.io/post/160631</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 25 Dec 2012 14:16:09 GMT</pubDate></item><item><title><![CDATA[Reply to Qt5 static doesn&#x27;t compile. on Tue, 25 Dec 2012 11:23:27 GMT]]></title><description><![CDATA[<p dir="auto">I think your packet lacks a file named ".qmake.conf". Download the <em>whole</em> packet again and try to run configure properly.</p>
]]></description><link>https://forum.qt.io/post/160619</link><guid isPermaLink="true">https://forum.qt.io/post/160619</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 25 Dec 2012 11:23:27 GMT</pubDate></item></channel></rss>