ustulation
15th September 2012, 10:03
{Using VS2010 , Qt 4.7.0}
error : Meta object features not supported for nested classes
Trolltech site here (http://doc.trolltech.com/4.7.1/moc.html) says under Limitations that
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)?
error : Meta object features not supported for nested classes
Trolltech site here (http://doc.trolltech.com/4.7.1/moc.html) says under Limitations that
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)?