Hi

I am trying to get the plotter example from the book C++ GUI programming with QT 4 to
work in my application. I am getting link errors and am not sure what is really causing it
I am using Visual Studio C++ V8 QT V4.3 I have included the plotter.cpp and plotter.h files in my project and am just calling "Plotter plotter;" with no code to actualy use it yet, but I can't get past the link errors does anybody have any ideas? The exact error is.

1>plotter.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall Plotter::metaObject(void)const " (?metaObject@Plotter@@UBEPBUQMetaObject@@XZ)
1>plotter.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall Plotter::qt_metacast(char const *)" (?qt_metacast@Plotter@@UAEPAXPBD@Z)
1>plotter.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall Plotter::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@Plotter@@UAEHW4Call@QMetaObject@@HPA PAX@Z)
1>C:\Documents and Settings\Chris Simpson\My Documents\Visual Studio 2005\Visual Studio Projects\WindowsINE\INE-DE\Debug\ine.exe : fatal error LNK1120: 3 unresolved externals
1>Build log was saved at "file://c:\Documents and Settings\Chris Simpson\My Documents\Visual Studio 2005\Visual Studio Projects\WindowsINE\INE-DE\Debug\BuildLog.htm"
1>INE-DT - 4 error(s), 2 warning(s)