Specifying Visual Studio's 'Conformance mode' in a qmake .pro file?
Bart_Vandewoestyne last edited by
I am currently using
QMAKE_CXXFLAGS += /permissive-
.profile so that my code compiles using VS2019's
/permissive-option. In the generated Visual Studio project, this compile flag then apparently gets added to the 'Additional Options':
However, I was expecting this option elsewhere, namely under 'Language / Conformance mode':
Is there a way to specify in my
.profile that I want to set 'Conformance mode' to
/permissive-? Or is this not supported with qmake and is the only way around to use
QMAKE_CXXFLAGSlike I do now?
You have to set it by your own.