Support older qwt
This commit is contained in:
parent
e72c2b7af1
commit
842602cdcb
|
@ -21,6 +21,13 @@
|
||||||
#include <QFrame>
|
#include <QFrame>
|
||||||
#include <QHBoxLayout>
|
#include <QHBoxLayout>
|
||||||
#include <QVBoxLayout>
|
#include <QVBoxLayout>
|
||||||
|
//Work sround for older qwt releases
|
||||||
|
#include <QtGlobal>
|
||||||
|
#if QT_VERSION >= 0x050400
|
||||||
|
#define QT_STATIC_CONST static const
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#include <qwt_scale_draw.h>
|
#include <qwt_scale_draw.h>
|
||||||
#include <qwt_scale_map.h>
|
#include <qwt_scale_map.h>
|
||||||
#include <qwt_scale_widget.h>
|
#include <qwt_scale_widget.h>
|
||||||
|
|
|
@ -17,6 +17,12 @@
|
||||||
#ifndef BORA_SLICING_PLOT_WIDGET_H
|
#ifndef BORA_SLICING_PLOT_WIDGET_H
|
||||||
#define BORA_SLICING_PLOT_WIDGET_H
|
#define BORA_SLICING_PLOT_WIDGET_H
|
||||||
|
|
||||||
|
//Work sround for older qwt releases
|
||||||
|
#include <QtGlobal>
|
||||||
|
#if QT_VERSION >= 0x050400
|
||||||
|
#define QT_STATIC_CONST static const
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <qwt_plot.h>
|
#include <qwt_plot.h>
|
||||||
#include <qwt_picker.h>
|
#include <qwt_picker.h>
|
||||||
|
|
Loading…
Reference in New Issue