I don't have recent versions of Qt installed,
but I don't think  Q_REVISION is a globally available
This might be problem #1
Problem #2 might be moc pre-processor restrictions - afaik it does not
expand macros.

Alex



On Mon, Dec 19, 2011 at 7:36 AM, Frank Hemer <fr...@hemer.org> wrote:
> 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
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to