VS2012 nmake using v110_xp toolset?

后端 未结 4 1447
终归单人心
终归单人心 2021-02-05 23:29

Is there a way to use v110_xp toolset (instead of default \"v110\") when compiling with \"nmake\" ?

I\'m trying to compile a Qt5 library for VisualStudi

4条回答
  •  感动是毒
    2021-02-05 23:51

    It is easier to edit mkspecs\win32-msvc2012\qmake.conf before you run configure. Edit the DEFINES += line and add the following:

    WIN32 _USING_V110_SDK71_
    

    You will have to stash and pop this change whenever you pull.

提交回复
热议问题