Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

How to define macro at build step

$
0
0
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?

Viewing all articles
Browse latest Browse all 13965

Trending Articles