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

Peter pgeorges at gmail.com
Fri Mar 19 09:19:15 CET 2010


When I include the line:
boost::signals::connection nodeRemoveConnection;

in my header file I get the following error:

>moc ../../include/qt/QParameterWidget.h -o moc/moc_QParameterWidget.cpp
../../include/qt/QParameterWidget.h:59: Parse error at "signals"

Is there any way to get through the moc generation without conflicting with
boost::signals? Some sort of moc option or something? (I already use the
-DQT_NO_KEYWORDS) but that does not apply to the moc phase.

Cheers,
Peter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100319/a72bef98/attachment.html 


More information about the Qt-interest-old mailing list