Dear list readers,
As you might remember, i have been playing around with MinGW-w64 on MSys to see
if it could be of a good replacement for compiling on / for windows.
i finally have dropped the migration, as i was seriously lacking some research
time.
Now that i have a bit time for me again, i would like to continue where i left
the process... But i am stuck already at the very begining.
So far, here is what i have done:
- Installed the MinGW-w64 version of MSys at c:/MSys32.
- In c:/MSys32, i have extracted the latest binary (Automated) build i was able
to find (MinGW-w32 i686-MinGW-20111219.zip) to "MinGW32".
- Then, i have looked at the filesystem tree. "i686-w64-mingw32-*.exe" are in
"c:/MSys32/MinGW32/bin/" and g++.exe and friends are in
"c:/MSys32/MinGW32/i686-w64-mingw32".
- In fstab, i have put a line reading "c:/MSys32/MinGW32/i686-w64-mingw32
/mingw". Is that correct? Should it read "c:/MSys32/MinGW32 /mingw" instead?
Now, i am trying to configure Qt 4.8.1 to compile it with MinGW-w64 (i am
willing to compile it on windows XP 32 bits for Windows XP 32 bits). But my
problem right now is that i can't seem to understand how to give it the build
triplet. i have tried pretty much everything that would usually work, but it
just fails.
When trying to compile it the "regular" way with this line:
./configure -fast -platform win32-g++ -debug-and-release -no-webkit -no-phonon
-no-dbus -no-opengl -no-qt3support -no-xmlpatterns -no-multimedia
-no-declarative -no-declarative-debug -nomake examples -nomake demos -opensource
It just fails with the following message:
This is the Qt for Windows Open Source Edition.
You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.
Type '3' to view the GNU General Public License version 3.
Type 'L' to view the Lesser GNU General Public License version 2.1.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Do you accept the terms of either license? yes
Creating qmake. Please wait...
g++ -c -o project.o -DQMAKE_OPENSOURCE_EDITION -g -I. -Igenerators
-Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian
-Igenerators/integrity -I/QtSDK/Desktop/Qt/4.8.1/i686-w64-mingw32/include
-I/QtSDK/Desktop/Qt/4.8.1/i686-w64-mingw32/include/QtCore
-I/QtSDK/Desktop/Qt/4.8.1/i686-w64-mingw32/src/corelib/global
-I/QtSDK/Desktop/Qt/4.8.1/i686-w64-mingw32/src/corelib/xml
-I/QtSDK/Desktop/Qt/4.8.1/i686-w64-mingw32/tools/shared -DQT_NO_PCRE
-DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -DQT_NO_TEXTCODEC
-DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/QtSDK/Desktop/Qt/4.8.1/i686-w64-mingw32/mkspecs/win32-g++ -DHAVE_QCONFIG_CPP
-DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DEPRECATED
project.cpp
g++.exe: error: CreateProcess: No such file or directory
make.exe: *** [project.o] Error 1
Is there anyone here successfull in compiling Qt 4.8.1 with MinGW-w64 using
MSys? If yes, how?
Thank you very much!
Pierre.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public