⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)
Where get QT5 compiled for MinGW?
Is it possible download QT5 using MinGW without recompiling from source?
lgeyer last edited by
There are a few things we’re still working on for the 5.0 series. We have bugs that we want to fix. We currently do not have binary packages for MinGW (as WebKit doesn’t yet work with it yet) and MSVC 2012 (you’ll need to compile from source), and we’ll work on delivering these as soon as possible. The current plan is to have a first patch level release, 5.0.1, some time before the end of January."
The ausence of the MinGW builds are related with a problem with QtWebkit and MinGW.
rem Get Perl from: http://www.activestate.com/activeperl/downloads [activestate.com]
rem Get Python from: http://www.python.org/download/releases/ [python.org]
REM win32api python module http://sourceforge.net/projects/pywin32/files/pywin32/Build 218/pywin32-218.win-amd64-py2.7.exe/download
rem gwt mingw from http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.7.2/32-bit/threads-win32/sjlj/
rem added set QMAKE_LFLAGS= -static-libgcc -static-libstdc++ on C:\DEV\Qt\5.0.0rc\qtbase\mkspecs\win32-g++\qmake.conf
configure -release -opensource -nomake examples -nomake tests -nomake demos -confirm-license -platform win32-g++ -opengl desktop
Here is my final result
mctree last edited by
Hi mbelgrano, I am trying to compile qt5 from source in msys (mingw32 compiler), your code seems to run the compilation in windows cmd. I am wondering if the result the same as the one compiled in msys. Also, in your google drive, how to use the result, to where I should copy the compiled code to? I am compiling other program with mingw, that program need qt5 library.
One of the developers of MinGW-builds has precompiled Qt 5 for MinGW: http://qt-project.org/forums/viewthread/23002/
mctree last edited by
thanks, I am downloading the pre-compiled pakcage. But after I extract that, what should I configure so the mingw can find the qt libraries and binaires? When I am compiling the poppler, which need qt, it report that qt-wrapper was not found.
I'm not sure, sorry -- I haven't used that package myself, and I manage all my projects from within Qt Creator.
Probably add the
bin' or'lib' folder to your PATH? And/Or configure Poppler to tell it where to find Qt 5?