That's why I suggested re-running qmake. The required moc steps are missing. For signals and slots, an auto-generated piece of code must be compiled and linked. Adding the Q_OBJECT macro and re-running qmake takes care of this.
But, I see you are using Visual Studio. Do you have a commercial license and the Visual Studio integration? I think the commercial integration should take care of detecting an added Q_OBJECT macro automatically, but if you are using an open source version and the community patches, you might need to regenerate the Visual Studio project file or something.
Bookmarks