![]() Why 5.01? Well if you look at the original settings, using for example dumpbin/headers on your. QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01 pro file for your project and insert this line (I usually do it at the end): (In case you’re targeting multiple Windows versions.) I have verified this works on Windows XP Service Pack 3 and Windows Server 2003 Service Pack 1 and 2 systems. One way to verify the bitness: launch your app in Windows 7 or 10, start Task Manager, in the process tab check that your app’s name has a “* 32” suffix.Īlso: This tweaking do not affect or disturb deployment to other, later Windows versions like Windows 7. ![]() not a valid Win32 application.”) occurs if you try to start a 64-bit app on a 32-bit Windows XP or Windows 2003 system, so make sure your app is really 32-bit flavored. exe file.Īnd yes, this has to be applied for every app you develop, until XP is gone gone gone… ![]() pro file, or you can be more adventurous and binary-patch your app’s. Update thanks to comment below: (use QMAKE_LFLAGS_WINDOWS instead of tweaking the project’s setting): There are basically two ways to fix this the easy way is to add one extra line to your project’s. This error will not occur for Qt with Visual Studio 2010, but it will when using Visual Studio 2012, 2013 or Visual Studio 2015.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |