The last toolchain i have downloaded is the one from TDM's. i'm trying to 
compile Qt 4.8.1 with it, and it fails where SeZero's build was successfull.
The error message i get is when compiling QMake (Which takes place in the 
./configure part):

Creating qmake. Please wait...
g++ -c -o project.o  -DQMAKE_OPENSOURCE_EDITION -g -I. -Igenerators 
-Igenerators/unix -Igenerators/win32 -Igenerators/ma
c -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/QtSources/4.8.1/tools/shared 
-DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPE
D -DQLIBRARYINFO_EPOCROOT -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES 
-DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/QtSD
K/QtSources/4.8.1/mkspecs/win32-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD 
-DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DEPRE
CATED  project.cpp
project.cpp: In member function 'QStringList& QMakeProject::values(const 
QString&, QMap<QString, QStringList>&)':
project.cpp:3062:51: error: cannot convert 'wchar_t*' to 'LPSTR {aka char*}' 
for argument '1' to 'BOOL GetComputerNameA(
LPSTR, PDWORD)'
make.exe: *** [project.o] Error 1

Isn't that related to the encoding selected for the Win32 API? Wouldn't that 
mean that the wrong version of the GetComputerName function is being resolved 
(GetComputerNameA instead of GetComputerNameW)? As stated on the MinGW-w64 trac 
wiki, TDM seems to be providing the easiest to use toolchains, but are they 
ready to be used once installed? After installing it, i modified the MSYS fstab 
so /mingw points to the TDM's one, then i cranked up and tried to compile Qt 
again... Maybe there is some extra steps with this toolchain version?

Thanks,
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

Reply via email to