[Interest] Moc fails using Qt 5.6

Konrad Rosenbaum konrad at silmor.de
Tue Apr 11 13:39:54 CEST 2017


On Mon, April 10, 2017 15:29, 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.

the same problem still exists in Qt 5.9 beta - apparently moc does not yet
understand numeric separators from C++ 14.

Please open a bug report and attach your example file to it.


More information about the Interest mailing list