[Qt-interest] How to avoid a bug related to keyword "slots" when Cocoa is used

Roger Bramon Feixas rogerbramon at gmail.com
Fri Jul 30 14:30:03 CEST 2010


Hi,

I'm building my application and I'm experiencing the same problem reported
here:
http://lists.trolltech.com/pipermail/qt-interest/2010-February/018576.html

Th error is:
/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:50: error:
expected unqualified-id before ‘[’ token

I'm only using the Cocoa framework in a subdir. Therefore, I tried to
add the line: CONFIG += no_keywords in the .pro file of this subdir only.
However, I'm getting a build error when I'm building with more than one core
because "no_keywords" is propagated to all subdirs. I took this example to
define the subdirs in the .pro file of the parent dir:
http://www.qtcentre.org/wiki/index.php?title=Undocumented_qmake#SUBDIRS_projects

Is there any way to avoid the propagation?

Thanks!

Roger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100730/3944dfe2/attachment.html 


More information about the Qt-interest-old mailing list