I am trying to use the libary qwt3d.

I created a simple class to use it:

Qt Code:
  1. #ifndef QPLOT3D_H_
  2. #define QPLOT3D_H_
  3.  
  4. #include <qwt3d_surfaceplot.h>
  5. #include <qwt3d_function.h>
  6.  
  7. using namespace Qwt3D;
  8.  
  9. class QPlot3D : public SurfacePlot
  10. {
  11. Q_OBJECT
  12. public:
  13. QPlot3D(QWidget* parent = 0, Qt::WFlags flags = 0);
  14. virtual ~QPlot3D();
  15.  
  16. };
  17. #endif
To copy to clipboard, switch view to plain text mode 

Qt Code:
  1. #include "QPlot3D.h"
  2.  
  3. QPlot3D::QPlot3D( QWidget* parent /*= 0*/, Qt::WFlags flags /*= 0*/ )
  4. : SurfacePlot(parent)
  5. {
  6. }
  7.  
  8. QPlot3D::~QPlot3D()
  9. {
  10. }
To copy to clipboard, switch view to plain text mode 

which results only in the linker error:
1>moc_QPlot3D.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const Qwt3D::SurfacePlot::staticMetaObject" (?staticMetaObject@SurfacePlot@Qwt3D@@2UQMetaObjec t@@B)
the libary (.lib) files are loaded, the moc file is part of the project and compiled.
Therefore I do not see what is missing.