QT5 -- QWT 6.1 canvas fixup

This commit is contained in:
Mark Liversedge
2013-12-09 12:24:58 +00:00
parent 5abf8776f1
commit 5a89eee24c
6 changed files with 13 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
#include "plot.h"
#ifndef QWT_NO_OPENGL
#define USE_OPENGL 1
#define USE_OPENGL 0
#endif
#if USE_OPENGL

View File

@@ -3,7 +3,7 @@
#ifndef QWT_NO_OPENGL
#if QT_VERSION >= 0x040600 && QT_VERSION < 0x050000
#define USE_OPENGL 1
#define USE_OPENGL 0
#endif
#endif

View File

@@ -1,3 +1,5 @@
#define QWT_NO_OPENGL
#include <qglobal.h>
#include <qwt_painter.h>
#include <qwt_plot_canvas.h>