[Interest] Moc fails using Qt 5.6

Jean-Michaël Celerier jeanmichael.celerier at gmail.com
Mon Apr 10 15:52:46 CEST 2017

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/).


Jean-Michaël Celerier

On Mon, Apr 10, 2017 at 3:29 PM, <jschneiderman at 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 at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170410/41df848a/attachment.html>

More information about the Interest mailing list