On sexta-feira, 17 de janeiro de 2014 00:07:07, Till Oliver Knoll wrote:
>   QMAKE_CXXFLAGS += -fobjc-arc
>   QMAKE_CFLAGS_DEBUG += -fobjc-arc
>   QMAKE_CFLAGS_RELEASE += -fobjc-arc
> 

> That is, the expected -fobjc-arc flag is only applied for clang++.

"CXXFLAGS" applies to C++ and Objective C++. If you want it for C and 
Objective C, you need QMAKE_CFLAGS.

Note that this will get the flags for plain C and C++ sources too. You may want 
to use QMAKE_OBJECTIVE_CFLAGS. I don't see an equivalent flag for ObjC++.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to