Details
-
Suggestion
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
None
Description
moc outputs the following warning if no classes inherit QObject, or if no classes contain the Q_OBJECT macro:
"No relevant classes found. No output generated."
However, it would be nice if moc elaborated a bit and distinguished between the two cases. For example, if no classes inherit QObject, moc should say so. And if classes that inherit QObject do not contain the Q_OBJECT macro, moc should say so instead of claiming "no relevant classes" were found.