[Interest] Moc fails using Qt 5.6

jschneiderman at gog.com jschneiderman at gog.com
Mon Apr 10 15:29:08 CEST 2017


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170410/06a1ca78/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: MocFailClass.h
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170410/06a1ca78/attachment.h>


More information about the Interest mailing list