Search code examples
qtmsvc14

setting up VS platfrom toolset in QtCreator


I have a project based on Qt which use QWebEngine. For compiling this project i've installed Visual Studio Express 2015 and have configured kits. My project is built, all is fine. But now i need to compile my project for Windows XP platform. I know, that for doing this it is needed to change toolset from v140 to v140_xp.

How can i set the toolset from qtcreator?

I tried to determine the difference in compiler options in both cases. For doing that I've created test project in Visual Studio. There i change the toolset and look at Project Properties -> C/C++ -> Command Line Options. But seems that nothing changes there.


Solution

  • In VS there is an editbin utility, which could be used as follows

    editbin file.exe /SUBSYSTEM:WINDOWS,5.01 /OSVERSION:5.1