I think that moc is not very up-to-date regarding its parsing of modern c++ features (like decimal separator). It also fails for me (macOS, qt 5.8) on this file. You should report a bug on the tracker (http://bugreports.qt.io/).
Best Jean-Michaël ------- Jean-Michaël Celerier http://www.jcelerier.name On Mon, Apr 10, 2017 at 3:29 PM, <jschneider...@gog.com> wrote: > I’ve attached a bit of demonstration code that shows how moc fails when > using separators inside enumerations and comments. The error I’m getting > is: Class declaration lacks Q_OBJECT macro. Even though it is clearly in > the specified class. Is this a known issue or not? I didn’t find anything > about it when searching. > > > > Thanks, > > > > John Schneiderman > Senior Software Engineer > Galaxy Desktop Team > GOG.com > > > > _______________________________________________ > 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