The Q_ENUMS() macro will do what I want -- for QObject derived class enums. But what does one do about an enum that is not QObject derived?
Q_PROPERTY(int/*QImage::Format*/ imageFormat READ imageFormat WRITE setImageFormat); //works Q_PROPERTY(QImage::Format imageFormat READ imageFormat WRITE setImageFormat) //causes bad moc code ---bad code-------- static const QMetaObject*qt_meta_extradata_VideoSurface[]={ &QImage::staticMetaObject, // "staticmetaObject is not a member of QImage" 0 }; ------------------------- For now I'm just using an int. What should I be doing? _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest