Re: Reg - QMetaObject Error
Does AFTPluginBase class contain Q_OBJECT macro in its definition?
Re: Reg - QMetaObject Error
It contains QObject macro.
Re: Reg - QMetaObject Error
Re: Reg - QMetaObject Error
Re: Reg - QMetaObject Error
And do you link your application with the code generated by moc for that class?
Re: Reg - QMetaObject Error
Actually i convert that class into lib file and include my application. Now my application inherit that class.
Re: Reg - QMetaObject Error
Quote:
Originally Posted by suresh
Actually i convert that class into lib file and include my application.
Is AFTPluginBase part of that library? If yes, do you link that library with code generated by moc?
Re: Reg - QMetaObject Error
Yes, I include in profile. In Qt3 i used the same manner
Re: Reg - QMetaObject Error
Quote:
Originally Posted by suresh
Yes, I include in profile.
Check your compilation log, not the settings.
One more thing: Is AFTPluginBase derived from QObject?
Re: Reg - QMetaObject Error
moc file is automatically generated. How can i link?
Re: Reg - QMetaObject Error
Yes.Its inherited. compilation log means..............
Re: Reg - QMetaObject Error
Quote:
Originally Posted by suresh
compilation log means..............
the exact commands that were executed, not your believes.