Hi

I have created a project (Say ProjA) which generate many moc_ files (.cpp) in main project folder. I changed the project setting in the project. The project is set up in visual studio 2010. The project is a .dll project.
I linked this project to main project (say ProjM) in Visual Studio and provided path to the source directory for .h files. The issues is that it complains and through an error "Error 1 error LNK2001: unresolved external symbol "public: static struct QMetaObject const XXXX::staticMetaObject" (?staticMetaObject@XXXX@@2UQMetaObject@@B)

I was unable to sort it. Then I added the the 'moc_xxxx.cpp" to the project 'ProjectM' and it seems to work. I believe that this is not the correct way of doing it. Can any one please help me.

Regards

Masroor