Meta object features not supported for nested classes
{Using VS2010 , Qt 4.7.0}
Code:
error : Meta object features not supported for nested classes
Trolltech site here says under Limitations that
Quote:
Less importantly, the following constructs are illegal. All of them have alternatives which we think are usually better, so removing these limitations is not a high priority for us.
It explains the alternatives to most of the limitations but none for the moc'ing of nested class problem. My nested class is private and i don't want it exposed for usage. Only the surrounding class may use it via member functions.
How do i do this (alternatives)?
Re: Meta object features not supported for nested classes
document your class as "private", and then un-nest it.