qt - Error in using created custom widget in designer -
i having problem on using created custom widget. have created custom widget produces .dll file. placed .dll file under bin/designer. recognized in designer. used , placed on ui. when tried build it, error occurred. debug\moc_scribblearea.cpp(44) : warning c4273: 'staticmetaobject' : inconsistent dll linkage d:\project\qt\workspace\sample-build-desktop\debug../../oep/scribblearea.h(53) : see previous definition of 'public: static qmetaobject const scribblearea::staticmetaobject' debug\moc_scribblearea.cpp(44) : error c2491: 'scribblearea::staticmetaobject' : definition of dllimport static data member not allowed debug\moc_scribblearea.cpp(54) : warning c4273: 'scribblearea::metaobject' : inconsistent dll linkage d:\project\qt\workspace\sample-build-desktop\debug../../sample/scribblearea.h(53) : see previous definition of 'metaobject' debug\moc_scribblearea.cpp(59) : warning c4273: 'scribblearea::qt_metacast...