From 83715ead91afc049cde4a892b1ffe5e9a6147b59 Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Sun, 9 Nov 2014 15:13:26 +0000 Subject: [PATCH] Qwt support QT 5.4 .. we should think about removing our local version of QWT since we no longer need it. --- qwt/src/qwt_transform.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qwt/src/qwt_transform.h b/qwt/src/qwt_transform.h index ce13fa66f..22d5ae05c 100644 --- a/qwt/src/qwt_transform.h +++ b/qwt/src/qwt_transform.h @@ -94,6 +94,12 @@ public: has no effect on the mapping. So QwtLogTransform can be used for log2(), log10() or any other logarithmic scale. */ + +#ifndef QT_STATIC_CONST +#define QT_STATIC_CONST static const +#define QT_STATIC_CONST_IMPL const +#endif + class QWT_EXPORT QwtLogTransform: public QwtTransform { public: