I wonder what the defines around Q_PROPERTY macros are good for?

@see here: 3rdparty/webkit/WebKit/qt/declarative/qdeclarativewebview_p.h

#ifdef Q_REVISION
    Q_PROPERTY(QColor backgroundColor READ backgroundColor WRITE 
setBackgroundColor NOTIFY backgroundColorChanged REVISION 1)
#endif

It seems the moc preprocessor skips these ifdefs and thus the win mingw build 
fails complaining about a missing signal implementation ...

Frank
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to