On Mon, Jun 18, 2007 at 06:44:15PM +0200, Andre Poenitz wrote:

> On Mon, Jun 18, 2007 at 01:14:44PM +0200, Stefan Schimanski wrote:
> > It does not even compile:
> > 
> >   #if QT_VERSION >= 0x040200 && !Q_WS_MACX
> > 
> > gives "operator '!' has no right operand".
> 
> Maybe  !defined(Q_WS_MACX)  is better.

Nope. Seems that moc doesn't parse included files, so Q_WS_MACX will
always be undefined.

-- 
Enrico

Reply via email to