Dear friends

I am trying to compile my QT4.8.6 Source code in raspberry pi jessie.

I got an error like this

Qt Code:
  1. mainwindow.cpp:972:25: error: ‘class QwtDial’ has no member named ‘setRange’
  2. Settings_FOOTPEDAL->setRange(Sett_FP_Xaxis_CALIBER,Sett_FP_Yaxis_CALIBER,1,1);
To copy to clipboard, switch view to plain text mode 

my source code compiled successfully in wheezy os qt version is same.
I think the error occurs on qwt lib. I don have an idea how to fix it.

The error occured after changed my header file

l

Qt Code:
  1. //#include </usr/include/qwt/qwt_dial.h>
  2. //#include </usr/include/qwt/qwt_dial_needle.h>
  3. #include </usr/local/qwt-6.1.0/include/qwt_dial.h>
  4. #include </usr/local/qwt-6.1.0/include/qwt_dial_needle.h>
To copy to clipboard, switch view to plain text mode 

Please help me to fix this problem

Regards

Vivek R