[Qt-interest] conflict with boost signals when running moc
Peter
pgeorges at gmail.com
Sat Mar 20 01:08:18 CET 2010
Ah so the moc executable takes the - DQT_NO_KEYWORDS arguement also...
That fixes it
Cheers,
Peter.
On Fri, Mar 19, 2010 at 8:10 PM, Jeroen De Wachter <
jeroen.dewachter at barco.com> wrote:
> Hey Peter,
>
> We had a similar issue with an in-house signal/slot module conflicting
> with Qt's 'emit' keyword
>
> We also use - DQT_NO_KEYWORDS and use the upper case versions for those
> keywords.
> signals becomes Q_SIGNALS, slots becomes Q_SLOTS, emit becomes Q_EMIT, etc.
> The Qt library sources work with the upper case versions too, btw
>
> Maybe this could work for you as well.
>
> Kind regards,
>
> Jeroen
>
> Oliver.Knoll at comit.ch wrote:
> > Peter wrote on Friday, March 19, 2010 9:19 AM:
> >
> >
> >> ...
> >> Is there any way to get through the moc generation without
> >> conflicting with boost::signals?
> >>
> >
> > An exhaustive 10 second google research(tm) came up with the following:
> >
> > FAQ: "3. How do I get Boost.Signals to work with Qt?"
> >
> > http://www.boost.org/doc/libs/1_42_0/doc/html/signals/s04.html#id1694739
> >
> > ;)
> >
> > Cheers, Oliver
> >
>
>
> _______________________________________________
> 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/20100320/a86ee7a8/attachment.html
More information about the Qt-interest-old
mailing list