30ce3e8641
- 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
50 lines
1.7 KiB
Diff
50 lines
1.7 KiB
Diff
From 581cb40603dd3daca2916b564a4cd2630d005556 Mon Sep 17 00:00:00 2001
|
|
From: Nyall Dawson <nyall.dawson@gmail.com>
|
|
Date: Tue, 27 Jul 2021 09:44:48 +1000
|
|
Subject: [PATCH] Add required explicit imports for qwt
|
|
|
|
---
|
|
src/gui/qgscurveeditorwidget.cpp | 2 ++
|
|
src/gui/qgsgradientcolorrampdialog.cpp | 2 ++
|
|
src/gui/qgshistogramwidget.cpp | 1 +
|
|
3 files changed, 5 insertions(+)
|
|
|
|
diff --git a/src/gui/qgscurveeditorwidget.cpp b/src/gui/qgscurveeditorwidget.cpp
|
|
index e82548041af..38609fca447 100644
|
|
--- a/src/gui/qgscurveeditorwidget.cpp
|
|
+++ b/src/gui/qgscurveeditorwidget.cpp
|
|
@@ -34,6 +34,8 @@
|
|
#include <qwt_plot_layout.h>
|
|
#include <qwt_symbol.h>
|
|
#include <qwt_legend.h>
|
|
+#include <qwt_scale_div.h>
|
|
+#include <qwt_scale_map.h>
|
|
|
|
#include <qwt_plot_renderer.h>
|
|
#include <qwt_plot_histogram.h>
|
|
diff --git a/src/gui/qgsgradientcolorrampdialog.cpp b/src/gui/qgsgradientcolorrampdialog.cpp
|
|
index d7b28d0e88c..79fee838379 100644
|
|
--- a/src/gui/qgsgradientcolorrampdialog.cpp
|
|
+++ b/src/gui/qgsgradientcolorrampdialog.cpp
|
|
@@ -41,6 +41,8 @@
|
|
#include <qwt_plot_layout.h>
|
|
#include <qwt_symbol.h>
|
|
#include <qwt_legend.h>
|
|
+#include <qwt_scale_div.h>
|
|
+#include <qwt_scale_map.h>
|
|
|
|
QgsGradientColorRampDialog::QgsGradientColorRampDialog( const QgsGradientColorRamp &ramp, QWidget *parent )
|
|
: QDialog( parent )
|
|
diff --git a/src/gui/qgshistogramwidget.cpp b/src/gui/qgshistogramwidget.cpp
|
|
index 4f277be924a..1ca24f618d1 100644
|
|
--- a/src/gui/qgshistogramwidget.cpp
|
|
+++ b/src/gui/qgshistogramwidget.cpp
|
|
@@ -37,6 +37,7 @@
|
|
#include <qwt_plot_layout.h>
|
|
#include <qwt_plot_renderer.h>
|
|
#include <qwt_plot_histogram.h>
|
|
+#include <qwt_text.h>
|
|
|
|
|
|
QgsHistogramWidget::QgsHistogramWidget( QWidget *parent, QgsVectorLayer *layer, const QString &fieldOrExp )
|