Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to run a Qt 5.10 programm on XP?

Tags:

windows-xp

qt

qt5

I have deployed a 5.10 32bit msvc programm.exe and it works ok on windows 8.1. But I have to run it on XP and I can not do it. It says "progamm.exe is not a valid Win32 app". Am I doomed? Do I have to use the last version of Qt that supports XP, like Qt5.6? Thank you!

like image 272
Mikhail Avatar asked Dec 23 '22 07:12

Mikhail


1 Answers

The latest version that supports XP is Qt 5.6.3. The Windows XP support is not enabled by default. You have to download the Qt source-code and compile it with ./configure -target xp. This means, if you install Qt 5.6.3 (pre-built) package the Windows XP support is not enabled! You must compile the source-code. Qt 5.6.3 is in strict phase and reliable if you want to support Windows XP, which is still installed on many computers in China, India, etc.

Qt 5.6.3 is upwards compatible and supports additional to Windows XP, Windows Vista, Windows 7, Windows 8, Windows 10.

Qt 5.7 and upwards do not support Windows XP. If you modify the PE-Header to make it run, it's likely that the application will crash from time to time as Windows APIs are required that are not available on Windows XP.

like image 75
user3606329 Avatar answered Dec 28 '22 07:12

user3606329