qt-interest@trolltech.com
[Top] [All Lists]

Re: [Qt-interest] conflict with boost signals when running moc

Subject: Re: [Qt-interest] conflict with boost signals when running moc
From: Jeroen De Wachter
Date: Fri, 19 Mar 2010 10:10:52 +0100
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@xxxxxxxx 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@xxxxxxxxxxxxx
http://lists.trolltech.com/mailman/listinfo/qt-interest

<Prev in Thread] Current Thread [Next in Thread>