Thanks Uwe,

I tried to comment out the line, still getting the same compilation error

C:/qwt-5.1.2/../../Qt/2009.05/qt/include/QtCore/../../src/corelib/tools/qhash.h:875: error: call of overloaded 'qHash(const double&)' is ambiguous


Qt Code:
  1. #if defined(QWT_TEMPLATEDLL)
  2.  
  3. #if QT_VERSION < 0x040300
  4. // Some compilers have problems,
  5. // without a qHash(double) implementation
  6. #include <qset.h>
  7. #include <qvector.h>
  8. inline uint qHash(double key) { return uint(key); }
  9. #endif
  10.  
  11. // MOC_SKIP_BEGIN
  12. template class QWT_EXPORT QList<double>;
  13. // MOC_SKIP_END
  14.  
  15. #endif // QWT_TEMPLATEDLL
To copy to clipboard, switch view to plain text mode 

How can i check if QT_VERSION is taking the correct value ?

Is there any other workaround for this issue

Regards,