On 17 sept. 2014, at 17:20, Olivier Goffart <[email protected]> wrote:
> On Tuesday 16 September 2014 23:52:36 Thiago Macieira wrote: >> On Tuesday 16 September 2014 23:00:06 Samuel Gaist wrote: >>> Good question, I'll have to check. >>> If that where not the case, what should I write to give additional include >>> paths to moc ? >> >> Replace QT_DEPRECATED_SINCE with the actual contents of the macro. Also >> expand QT_VERSION_CHECK. >> >> Qt 4 moc does not expand macros. > > Qt 4 moc does expand macros in #if directive. > > (and QT_DEPRECATED_SINCE is defined to 1 for Qt4 in qtserialportglobal.h) > Indeed it's defined, but it looks like moc doesn't handle the case when the macro has one or more parameter(s) even if defined in the same file Samuel _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
