[Qt-interest] Qt mingw 4.4.3 fails to compile qtmain_win.cpp
Matthias Pospiech
matthias.pospiech at gmx.de
Tue Feb 10 11:17:53 CET 2009
Oliver.Knoll at comit.ch schrieb:
> On a more serious side: What is c:/Programme/Microsoft SDKs/Windows/v6.1/Include/winbase.h? v6.1? The SDK I am using (together with Visual Studio 2005 Express though) is something like C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2.
>
> Are you maybe an outdated SDK? I remember I once also compiled Qt 4.4.3 MinGW version without problems on my WinXP machine, with the above SDK. Does the MinGW version actually require an SDK? For example I remember that you don't get DirectX support with MinGW, because the MS DirectX SDK headers are not "compatible" (legal reasons?) with the MinGW compiler).
>
>
I added this Microsoft SDK for the compilation of Phonon (in that case
with MSVC). I know that mingw does not compile phonon, nevertheless it
should not fail to compile if the headers necessary for msvc compilation
are existent.
I solved it now by completely removing the PATH, and INCLUDE Variables,
so that the compiler can not find it anymore. Now it compiles.
Matthias
More information about the Qt-interest-old
mailing list