mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
QT5 -- QWT 6.1 canvas fixup
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include "plot.h"
|
||||
|
||||
#ifndef QWT_NO_OPENGL
|
||||
#define USE_OPENGL 1
|
||||
#define USE_OPENGL 0
|
||||
#endif
|
||||
|
||||
#if USE_OPENGL
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#define QWT_NO_OPENGL
|
||||
|
||||
#include <qglobal.h>
|
||||
#include <qwt_painter.h>
|
||||
#include <qwt_plot_canvas.h>
|
||||
|
||||
Reference in New Issue
Block a user