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
#if defined(QWT_TEMPLATEDLL)
#if QT_VERSION < 0x040300
// Some compilers have problems,
// without a qHash(double) implementation
#include <qset.h>
#include <qvector.h>
inline uint qHash(double key) { return uint(key); }
#endif
// MOC_SKIP_BEGIN
template class QWT_EXPORT QList<double>;
// MOC_SKIP_END
#endif // QWT_TEMPLATEDLL
#if defined(QWT_TEMPLATEDLL)
#if QT_VERSION < 0x040300
// Some compilers have problems,
// without a qHash(double) implementation
#include <qset.h>
#include <qvector.h>
inline uint qHash(double key) { return uint(key); }
#endif
// MOC_SKIP_BEGIN
template class QWT_EXPORT QList<double>;
// MOC_SKIP_END
#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,
Bookmarks