here’s my problem:
in my cpp file:
#if defined(_MSC_VER)
#include .....
#else
#include something else
#endif
to make my code portable. it’s work fine when at visual studio. but i wanna switch to Qt from now, for uninstall 15Gb of visual studio .
i try go to project setting, add some argument to build steps:
mingw32-make.exe -D _MSC_VER=1700
but it’s not work. anyone tell me how to define macro at build step?
↧