I need to compile Qt4.8.4 with Visual Studio 2012 and use its dlls on windows xp. How can I do that? I made some change in mkspecs\win32-msvc2012 like below, but it didn't work. After I coded an application on Windows 7 with Qt4.8.4, I got an error message: "... is not a valid win32 program." when I executed the application on Windows XP. I have no problem executing the same application on Windows 7.
DEFINES += UNICODE WIN32 QT_LARGEFILE_SUPPORT _USING_V110_SDK71_
QMAKE_LFLAGS_CONSOLE = /SUBSYSTEM:CONSOLE,5.01
I am missing some point about compiling Qt4.8.4 but I don't know what. If I could compile Qt4.8.4 for targetting WinXP, I would probably solve my problem.
Any help is appreciated.