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) -- Olivier Woboq - Qt services and support - http://woboq.com - http://code.woboq.org _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
