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

喜夏-厌秋 提交于 2019-12-22 09:37:11

问题


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!


回答1:


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.



来源:https://stackoverflow.com/questions/50255414/is-it-possible-to-run-a-qt-5-10-programm-on-xp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!