qgis/qgis-fix-missing-qwt-inc.patch
Dirk Stoecker 30ce3e8641 Accepting request 909695 from home:Guillaume_G:branches:Application:Geo
- Update to 3.20.1 (monthly bugfix)
- Add patch to fix build with current Tumbleweed - boo#1188902
  * qgis-fix-missing-qwt-inc.patch
  * qgis-fix-missing-qwt-inc-part2.patch

OBS-URL: https://build.opensuse.org/request/show/909695
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=329
2021-08-03 08:26:42 +00:00

35 lines
1.2 KiB
Diff

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 )