Hi!

I have a strange issue at the moment:
I've made a new class using QwtScaleDiv's function: upperBound() and lowerBound() for an active QwtPlot. When building in debug, I get the following error:

  1. Error 1 error LNK2005: "public: double __thiscall QwtScaleDiv::lowerBound(void)const " (?lowerBound@QwtScaleDiv@@QBENXZ) already defined in overlayView.obj qwtd5.lib
  2. Error 2 error LNK2005: "public: double __thiscall QwtScaleDiv::upperBound(void)const " (?upperBound@QwtScaleDiv@@QBENXZ) already defined in overlayView.obj qwtd5.lib


Now the thing is, the linker error is referring to the overlayView object whilest this object already excist for a long time and never has given this problem. Now when I try to use in my new class the QwtScaleDiv::lowerbound() and uperbound(), I recieve this linker error. When I remove the code usiing QwtScaleDiv from this new class, the error is gone...

I really do not have a goddamn clue! Any ideas?

Greetings,
Robin