Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
None
Description
class A##B : public QObject
{
Q_OBJECT
};
gives:
Error: Class contains Q_OBJECT macro but does not inherit from QObject
Also, with moc -E:
class A
{
Q_OBJECT
};
I.e., the rest of the line following ## seems to be simply dropped.