Cross Compiling Qt5 on Linux for Windows.Cross compiling for Linux on Windows (linker output file won't run as executable on linux and has undefined symbols).Linking libcurl while cross compiling with mingw32 under Linux for Windows.
The Visual Studio IDE is not included because it is a paid product, but good quality compilers for free is a good enough to anyone. You can chose the compilation mode by issuing SETENV /x86 for 32 bit or SETENV /圆4 for 64 bits -there is another mode for Itanium but I have never used it. Please note that the compilers are the same that come with Visual Studio, but you will have to invoke them from the command line environment installed by the SDK by either using 'cl' or 'nmake'. I looked on the system requirements and it still supports XP, so this should be good for you. Here you can download the latest version of the SDK, which comes with the compilers. I actually use the Windows Vista SDK (ver 6.1) on Virtual PC running XP to compile for Windows 圆4. If that is the case you are lucky, because Microsoft actually gives away the cross compilers for free with the Windows SDK since Windows 2000 SDK. That said, I think that what you want is to cross-compile Windows 圆4 on a 32 bit virtual machine running Windows. I have actually used it on Linux to cross-compile for S/390 a while back, and also to cross-compile ARM code on a Power Mac (I used the instructions here to set it up). The only cross compiler that I know of is GCC.