After integrating Qt with Vs and trying to compile .pro file I\'m getting following errors:
Error 9 error LNK2001: unresolved external symbol \"public
You usally get these errors when the moc_foo.cpp for foo.h (which contains your class marked with Q_OBJECT) is not compiled / linked in your project.
To make a Qt project work in VS you either
When using the add-in you can trigger the creation of the moc_foo.cpp by
Now you should have two versions of moc_multiplication_dialog.cpp in your "Generated Files" folder in the Solution Explorer. One for "Debug" and one for "Release". Make sure that one of these files is not excluded from build.