[Qt-interest] 'foreach' macro collision
Arpit Gautam
qt.theone at gmail.com
Fri Nov 19 08:47:02 CET 2010
Possibly using a namespace for your own foreach will resolve the issue
On Fri, Nov 19, 2010 at 3:45 AM, Alessandro Portale <
alessandro.portale at nokia.com> wrote:
> On 11/18/2010 11:08 PM, Portale Alessandro (Nokia-MS-Qt/Berlin) wrote:
> > CONFIG += no_keywords
>
> The me add that this will also remove Qt's keywords like "signals",
> "slots" and "emit". When disabling Qt's keywords with no_keywords, You
> need to use the Q_* equivalents of those, too:
>
> http://doc.qt.nokia.com/4.7/signalsandslots.html#using-qt-with-3rd-party-signals-and-slots
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101119/5025483f/attachment.html
More information about the Qt-interest-old
mailing list