Building in static mode.
-
When I posted the first message, "Qt libraries 4.7.4 for Windows (minGW 4.4, 328 MB)" was already installed in my computer.
But it shows me this error message:
WARNING: Using static linking will disable the use of plugins.
Make sure you compile ALL needed modules into the library.
Creating qmake…
execute: File or path is not found (mingw32-make)
execute: File or path is not found (mingw32-make)
Cleaning qmake failed, return code -1 -
You must not recompile prebuilt binaries of Qt. IIRC that has been written already. Grab the vanilla sources and compile these.
Also, you need to have a complete MinGW environment, including MSYS to build the libs. I'm not completely sure (never tried that), but the MinGW installation of the SDK or Qt Creator might not be sufficient.
-
Ok, so where can I download a complete MinGW environment ???
-
Why not try your favorite search engine and ask for "mingw":http://lmgtfy.com/?q=mingw?
-
I downloaded this :
http://www.mingw.org/wiki/InstallationHOWTOforMinGW
But, you told me that he is not correct
-
You have two packages in the game: a MinGW installation (which looks ok - I installed it using the linked HOWTO too) and the Qt sources.
From your paths, I guessed that you used a binary package (likely for MinGW) which happen to contain the sources too. Unfortunately the sources in the binary packages are known to cause problems when recompiling them. So the general advice is to grab the plain (aka "vanilla") sources from the download page and compile from that. The folder containing that sources is usually named qt-everywhere-opensource-src-4.7.4 or similar. Did you get that sources already?
To build Qt, you should start the MSYS shell of your MinGW installation. You should have an entry in the start menu of "MinGW Shell" or start C:\MinGW\msys\1.0\msys.bat and run Qt's configure from that.
-
Yes, I downloaded them.
But, in the .bat, what I put ???
-
The .bat already exists. You are supposed to execute it. The actual path may differ, depending on where you installed MinGW.
-
Yes, I have the .bat, but, while he is running, what I do ???
-
call configure.exe of the Qt sources with the appropriate options an run mingw32-make.
Oh, and I should mention that you have to unpack the Qt sources first, otherwise there will be no configure.exe....
-
Ok, I'll run the configure.exe.
PS: Thanks a lot for your help.