<?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[MinGW64, Qt 4.8.3]]></title><description><![CDATA[<p dir="auto">I am unsucessfully compiling Qt with MinGW64. There are wiki pages (<a href="http://qt-project.org/wiki/MinGW-64-bit" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/wiki/MinGW-64-bit</a>, <a href="http://qt-project.org/wiki/Building_Qt_Desktop_for_Windows_with_MinGW" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/wiki/Building_Qt_Desktop_for_Windows_with_MinGW</a>) and a few posts in forums suggesting that it is works.</p>
<p dir="auto">I am compiling on plain MSYS with gcc/rubenvb-4.7.2 build. I unpack and configure (in bash console) using</p>
<p dir="auto">@tar xfz qt-everywhere-opensource-src-4.8.3.tar.gz<br />
cd qt-everywhere-opensource-src-4.8.3<br />
./configure.exe -prefix c:\MinGW64 -release -opensource -confirm-license -shared -fast <br />
-no-webkit -no-multimedia -no-xmlpatterns -no-qt3support <br />
-no-accessibility -no-script -no-declarative <br />
-no-dsp -no-vcproj -no-s60 -largefile <br />
-qt-zlib -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg <br />
-platform win32-g++-4.6 -nomake tests -nomake examples<br />
@</p>
<p dir="auto">which successfully configures the project with</p>
<p dir="auto">@Sources are in..............C:\src\qt-everywhere-opensource-src-4.8.3<br />
Build is done in............C:\src\qt-everywhere-opensource-src-4.8.3<br />
Install prefix..............c:\MinGW64<br />
Headers installed to........c:/MinGW64/include<br />
Libraries installed to......c:/MinGW64/lib<br />
Plugins installed to........c:/MinGW64/plugins<br />
Imports installed to........c:/MinGW64/imports<br />
Binaries installed to.......c:/MinGW64/bin<br />
Docs installed to...........c:/MinGW64/doc<br />
Data installed to...........c:/MinGW64<br />
Translations installed to...c:/MinGW64/translations<br />
Examples installed to.......c:/MinGW64/examples<br />
Demos installed to..........c:/MinGW64/demos<br />
@</p>
<p dir="auto">and bootstraps qmake. Running @mingw32-make@ however immediately results in</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/c">@<bdi>C</bdi></a>:/src/qt-everywhere-opensource-src-4.8.3/bin/qmake C:/src/qt-everywhere-opensource-src-4.8.3//projects.pro  -o Makefile -spec win32-g++-4.6<br />
Could not find mkspecs for your QMAKESPEC(win32-g++-4.6) after trying:<br />
c:/MinGW64\mkspecs<br />
Error processing project file: C:/src/qt-everywhere-opensource-src-4.8.3//projects.pro<br />
make: *** [all] Error 3<br />
@</p>
<p dir="auto">Any hints? Thanks!</p>
]]></description><link>https://forum.qt.io/topic/21260/mingw64-qt-4-8-3</link><generator>RSS for Node</generator><lastBuildDate>Wed, 23 Sep 2026 22:00:49 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/21260.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 09 Nov 2012 14:38:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MinGW64, Qt 4.8.3 on Mon, 12 Nov 2012 09:32:24 GMT]]></title><description><![CDATA[<p dir="auto">You can set QTDIR and it should compile.</p>
<p dir="auto">Apart from that I agree, it probably should copy the mkspecs.</p>
]]></description><link>https://forum.qt.io/post/156730</link><guid isPermaLink="true">https://forum.qt.io/post/156730</guid><dc:creator><![CDATA[sierdzio]]></dc:creator><pubDate>Mon, 12 Nov 2012 09:32:24 GMT</pubDate></item><item><title><![CDATA[Reply to MinGW64, Qt 4.8.3 on Mon, 12 Nov 2012 09:31:10 GMT]]></title><description><![CDATA[<p dir="auto">Configure.exe creates configuration which does not compile. That is not OK.</p>
<p dir="auto">If it works only for -prefix $PWD, then it should be documented and checked by configure.exe.</p>
]]></description><link>https://forum.qt.io/post/156729</link><guid isPermaLink="true">https://forum.qt.io/post/156729</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Mon, 12 Nov 2012 09:31:10 GMT</pubDate></item><item><title><![CDATA[Reply to MinGW64, Qt 4.8.3 on Mon, 12 Nov 2012 09:29:02 GMT]]></title><description><![CDATA[<p dir="auto">[quote author="eudoxos" date="1352474657"]Explanation of the error still appreciated.[/quote]</p>
<p dir="auto">What is not clear? Qt built with -prefix puts the output files of it's compilation to the prefixed folder. It does not copy the mkspecs. That is partially why the most common way is to use:<br />
@<br />
-prefix $PWD<br />
@</p>
<p dir="auto">or:<br />
@<br />
-prefix CD<br />
@</p>
<p dir="auto">if you happen to live on Windows (CD should be wrapped in percent signs, but this site strips them, so I cannot put them there).</p>
]]></description><link>https://forum.qt.io/post/156728</link><guid isPermaLink="true">https://forum.qt.io/post/156728</guid><dc:creator><![CDATA[sierdzio]]></dc:creator><pubDate>Mon, 12 Nov 2012 09:29:02 GMT</pubDate></item><item><title><![CDATA[Reply to MinGW64, Qt 4.8.3 on Mon, 12 Nov 2012 09:24:45 GMT]]></title><description><![CDATA[<p dir="auto">I want to have separate dirs for every compiler I use. Under Linux, Qt has the same prefix as all system-installed programs (/usr - Unix System Resources) anyways, and it works.</p>
]]></description><link>https://forum.qt.io/post/156727</link><guid isPermaLink="true">https://forum.qt.io/post/156727</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Mon, 12 Nov 2012 09:24:45 GMT</pubDate></item><item><title><![CDATA[Reply to MinGW64, Qt 4.8.3 on Mon, 12 Nov 2012 08:42:41 GMT]]></title><description><![CDATA[<p dir="auto">I'm not sure why you're wanting the set the -prefix parameter to the same folder as your compiler.</p>
<p dir="auto">Try not setting this parameter, and see what happens. By default, QT will build to C:\Qt\4.8.3.</p>
]]></description><link>https://forum.qt.io/post/156717</link><guid isPermaLink="true">https://forum.qt.io/post/156717</guid><dc:creator><![CDATA[ihall_mps]]></dc:creator><pubDate>Mon, 12 Nov 2012 08:42:41 GMT</pubDate></item><item><title><![CDATA[Reply to MinGW64, Qt 4.8.3 on Fri, 09 Nov 2012 15:24:17 GMT]]></title><description><![CDATA[<p dir="auto">As workaround, I did @cp -r mkspecs /c/MinGW64/mkspecs@ , it compiles now. Explanation of the error still appreciated.</p>
]]></description><link>https://forum.qt.io/post/156480</link><guid isPermaLink="true">https://forum.qt.io/post/156480</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Fri, 09 Nov 2012 15:24:17 GMT</pubDate></item></channel></rss>