[Qt-interest] 'staticMetaObject' is not a member of 'QMetaType'

Jason H scorp1us at yahoo.com
Mon Oct 24 20:03:26 CEST 2011


I've been using Qt for years and never come across this one.
 
That error is being caused by a line in a moc_.cpp file 
staticconstQMetaObject*qt_meta_extradata_DbParameter[]={&QMetaType::staticMetaObject, };
 
The class being fed to MOC looks like, in part:
classParameter:publicQObject
{
Q_OBJECT
 
Q_PROPERTY(...)
Q_ENUMS()
etc...
}
 
I don't why that line is in error as it has 0 content dependent on me. Can anyone help? I've done a clean, distclean, reran qmake and it still persists



More information about the Qt-interest-old mailing list