qt - What qmake variable is used for Objective-C compilation flags? -


qmake_cxxflags applied when compiling .cpp files, not applied .mm files. flag should use instead?

those flags belong in qmake_objective_cflags (not qmake_objective_cxxflags).

the flags used in precompiled header generation go qmake_objcxxflags_precompile,

objective-c compilation handled qtbase/mkspecs/features/mac/objective_c.prf. objective_c compiler defined on-the-fly when objective c/c++ sources present. can glean other details there.

the precompilation flags handled unix makefile generator: qtbase/qmake/generators/unix/unixmake.cpp , unixmake2.cpp.

i offer no comment consistency of variable names , locus of implementation. don't shoot messenger.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -