qgis/qgis-fix-missing-qwt-inc.patch

35 lines
1.2 KiB
Diff
Raw Normal View History

From 6f9cbde7c782274ebe5875da7dbac98d68e9827b Mon Sep 17 00:00:00 2001
From: Nyall Dawson <nyall.dawson@gmail.com>
Date: Tue, 20 Jul 2021 11:01:42 +1000
Subject: [PATCH] Some qwt related build fixes
---
src/gui/raster/qgsrasterhistogramwidget.cpp | 1 +
src/gui/symbology/qgsgraduatedhistogramwidget.cpp | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/gui/raster/qgsrasterhistogramwidget.cpp b/src/gui/raster/qgsrasterhistogramwidget.cpp
index 856c078f7a7..ec3e14d0de9 100644
--- a/src/gui/raster/qgsrasterhistogramwidget.cpp
+++ b/src/gui/raster/qgsrasterhistogramwidget.cpp
@@ -45,6 +45,7 @@
#include <qwt_plot_layout.h>
#include <qwt_plot_renderer.h>
#include <qwt_plot_histogram.h>
+#include <qwt_scale_div.h>
#ifdef Q_OS_WIN
#include <time.h>
diff --git a/src/gui/symbology/qgsgraduatedhistogramwidget.cpp b/src/gui/symbology/qgsgraduatedhistogramwidget.cpp
index 7b1e6a71474..85caf4c1ce7 100644
--- a/src/gui/symbology/qgsgraduatedhistogramwidget.cpp
+++ b/src/gui/symbology/qgsgraduatedhistogramwidget.cpp
@@ -38,6 +38,7 @@
#include <qwt_plot_layout.h>
#include <qwt_plot_renderer.h>
#include <qwt_plot_histogram.h>
+#include <qwt_scale_map.h>
QgsGraduatedHistogramWidget::QgsGraduatedHistogramWidget( QWidget *parent )