error from moc: 'x' does not name a type
-
Hi,
I have over 10 plugins and all but one work fine and I run out of ideas how to narrow the bug.
I checked virtual functions, destructor and signals ...
even used interfaces are used by other plugins that work.Is there a way to make moc more verbose?
That error message is not really helpful.I checked Qt-guides for plugins too, but did not find any obvious musthave that I might have missed ...
-
I don't see how we should help without a single line of code / minimal reproducible example.
-
Hi,
I have over 10 plugins and all but one work fine and I run out of ideas how to narrow the bug.
I checked virtual functions, destructor and signals ...
even used interfaces are used by other plugins that work.Is there a way to make moc more verbose?
That error message is not really helpful.I checked Qt-guides for plugins too, but did not find any obvious musthave that I might have missed ...
-
Hi,
thank you very much for your attention.
Of cause 'X' is just a replacement.I finally found the error:
I had a name clash between enum and class - so I started using namespaces and name clash is history.