1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/testing/cadence/fix-QPainterPath.patch
Kevin Thomas 617f6ff07a testing/cadence: new aport
https://kx.studio/Applications:Cadence
Collection of tools useful for audio production
2021-06-17 14:37:16 +00:00

34 lines
1.2 KiB
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From 887c3fde037c79f0f24bfeb8bc96e704fb2afd25 Mon Sep 17 00:00:00 2001
From: Alex Tsitsimpis <alex.tsitsimpis@gmail.com>
Date: Thu, 4 Jun 2020 12:49:40 +0300
Subject: [PATCH] Fix build with Qt 5.15+
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Building with Qt 5.15 failed with the following error:
../widgets/pixmapdial.cpp:231:26: error: aggregate QPainterPath ballPath has incomplete type and cannot be defined
231 | QPainterPath ballPath;
| ^~~~~~~~
../widgets/pixmapdial.cpp:278:26: error: aggregate QPainterPath ballPath has incomplete type and cannot be defined
278 | QPainterPath ballPath;
| ^~~~~~~~
Signed-off-by: Alex Tsitsimpis <alex.tsitsimpis@gmail.com>
---
c++/widgets/pixmapdial.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/c++/widgets/pixmapdial.cpp b/c++/widgets/pixmapdial.cpp
index 37dcffd7..0b5e0f51 100644
--- a/c++/widgets/pixmapdial.cpp
+++ b/c++/widgets/pixmapdial.cpp
@@ -22,6 +22,7 @@
#include <QtCore/QTimer>
#include <QtGui/QPainter>
#include <QtGui/QPaintEvent>
+#include <QtGui/QPainterPath>
PixmapDial::PixmapDial(QWidget* parent)
: QDial(parent),