gamecreature / QtAwesome

QtAwesome - Font Awesome for Qt Applications
Other
787 stars 149 forks source link

error: ‘qt_metatype_id’ is not a member of ‘QMetaTypeId<QtAwesomeAnimation*>’ #23

Closed kuvark closed 7 years ago

kuvark commented 7 years ago

Hi,

I tried to compile your sample code and I got this error. Any idea?

/usr/include/qt4/QtCore/qmetatype.h:169:79: error: ‘qt_metatype_id’ is not a member of ‘QMetaTypeId<QtAwesomeAnimation*>’ static inline int qt_metatype_id() { return QMetaTypeId::qt_metatype_id(); }

gamecreature commented 7 years ago

Is see qt4 in your include path... I don't know if it still compiles with Qt 4?

gamecreature commented 7 years ago

@kuvark, Could you please confirm this new commit fixes your problem?