I am having hard time to find a solution for this linking error:
moc_TableView.obj : error LNK2001: unresolved external symbol "public: static
struct QMetaObject const CModelViewList::staticMetaObject"
(?staticMetaObject@CModelViewList@@2UQMetaObject@@ B)
I am trying to link this against a DLL.
Here's what I have defined for creating DLL
#ifndef QTAP_EXPORT
#define QTAP_EXPORT __declspec( dllexport )
#endif
I have declared QTAP_EXPORT for everyclass for exporting symbols. I start getting this problem once I moved the location of that particular file from one project to another. I have checked the moc files and all are created fine.
thanks,
Bookmarks