forked from jengelh/wxWidgets-3_2
Jan Engelhardt
14c1cf32fb
- Fix wxQt build with Qt 5.15, add 0001-Add-missing-QPainterPath-include-required-with-Qt-5..patch - Make liblzma build dependency explicit, to have the same feature set on all flavors. - Fix wrong function signature causing build failures in python-wxPython, add: 0002-Make-the-wxUIActionSimulator-Text-implementation-mat.patch - Add explicit libXtst build dependency, required for Leap 15.1 (already implicit on Leap 15.2 and TW). OBS-URL: https://build.opensuse.org/request/show/810613 OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/wxWidgets-3_2?expand=0&rev=56
40 lines
1.0 KiB
Diff
40 lines
1.0 KiB
Diff
From 823af8e13d94e6466535fd81b233e8e4b4da2035 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
|
|
Date: Mon, 1 Jun 2020 14:05:46 +0200
|
|
Subject: [PATCH] Add missing QPainterPath include required with Qt 5.15
|
|
|
|
The header is no longer pulled in by QPainter, omitting it causes
|
|
failing builds due to incomplete type QPainterPath.
|
|
---
|
|
src/qt/dc.cpp | 1 +
|
|
src/qt/graphics.cpp | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
diff --git a/src/qt/dc.cpp b/src/qt/dc.cpp
|
|
index 5f1324abe9..e304b54c37 100644
|
|
--- a/src/qt/dc.cpp
|
|
+++ b/src/qt/dc.cpp
|
|
@@ -15,6 +15,7 @@
|
|
#include <QtGui/QBitmap>
|
|
#include <QtGui/QPen>
|
|
#include <QtGui/QPainter>
|
|
+#include <QtGui/QPainterPath>
|
|
|
|
#ifndef WX_PRECOMP
|
|
#include "wx/icon.h"
|
|
diff --git a/src/qt/graphics.cpp b/src/qt/graphics.cpp
|
|
index 9e0614807d..1c4d654acc 100644
|
|
--- a/src/qt/graphics.cpp
|
|
+++ b/src/qt/graphics.cpp
|
|
@@ -19,6 +19,7 @@
|
|
#include <QApplication>
|
|
#include <QDesktopWidget>
|
|
#include <QPainter>
|
|
+#include <QPainterPath>
|
|
#include <QPicture>
|
|
|
|
#ifndef WX_PRECOMP
|
|
--
|
|
2.26.2
|
|
|