Qt app for windows XP
-
hi,
i have deployed my qt 5.14.0 application (compiled with mingw 73_32) on 32 bit win xp and had this error when tried to run it :The procedure entry point CancelIoEx could not be located in the dynamic link library KERNEL32.dll
now im downloading qt5.14.2 with msvc2017_32 compiler hoping i will get better results,
i saw this bug report but i'm not sure what conclusion i have to make, it says "windows xp is not supported by qt 5.8 any more."
is xp supported in qt5.14.2 ?
thx
-
@LeLev According to this: https://doc.qt.io/qt-5.14/supported-platforms.html Windows XP is not supported anymore.
"but i'm not sure what conclusion i have to make" - that it is not supported, means most probably is not going to work. Why do you need Windows XP? It is not even supported by Microsoft anymore. -
As @KroMignon says, Qt 5.6 is the last officially supported version.
I still have to support a few customers using Windows XP and I use Qt 5.7.1, it also works fine but any version newer than that has problems. -
@hskoglund
Hi
Does 5.7 work out of the box _
I think to recall you did some voodoo on a dll to make it work or that was something else i recall ? -
@LeLev said in Qt app for windows XP:
Customer has a CNC machine with embedded XP
OK, valid use case :-)
https://doc.qt.io/archives/qt-5.6/supported-platforms.html - Windows XP is supported as "Deployment only" (means your app will work, but you can't develop on Windows XP machine). -
@jsulm said in Qt app for windows XP:
Windows XP is supported as "Deployment only" (means your app will work, but you can't develop on Windows XP machine).
good thank you.
May i ask from where can i download qt5.6, the oldest version i see with my MaintenanceTool is qt5.9.0
edit : i see it here https://github.com/qt/qt5/tree/5.6
but if i download from here do i have to compile it myself ? -
@mrjj Yes 5.7.1 works out of the box for MinGW, if you're instead using MSVC compiler you'll need this line in your .pro file:
QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01
Voodo on a .dll? Yeah I remember it, it was for an unfortunate soul who had to support Windows XP Service Pack 2 (not Service Pack 3 like everyone else has) and that required surgery of some dll's IAT.
-
@hskoglund
ahh yes SP2 case. I recall now. Super.
and good with the MSVC hint. very important info.