Re: [Interest] Moc fails using Qt 5.6

2017-04-11 Thread jschneiderman
Will do later tonight. John Schneiderman Senior Software Engineer Galaxy Desktop Team GOG.com From: Konrad Rosenbaum Sent: wtorek, 11 kwietnia 2017 14:00 To: interest@qt-project.org Cc: jschneider...@gog.com Subject: Re: [Interest] Moc fails using Qt 5.6 Hi, On Mon, April 10, 2017 15:29

Re: [Interest] Moc fails using Qt 5.6

2017-04-11 Thread Konrad Rosenbaum
Hi, On Mon, April 10, 2017 15:29, 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

Re: [Interest] Moc fails using Qt 5.6

2017-04-10 Thread Jean-Michaël Celerier
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

[Interest] Moc fails using Qt 5.6

2017-04-10 Thread jschneiderman
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