liri-materialdecoration: Fix build with Qt 5.15

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2020-06-12 22:03:53 +02:00
parent f154761f10
commit 5cac191cdd
2 changed files with 32 additions and 3 deletions

View File

@@ -0,0 +1,30 @@
From 3de9eb59c0fe39c4a4ecb182b3bc7f53981024b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Fri, 12 Jun 2020 21:19:00 +0200
Subject: [PATCH] Fix build with Qt 5.15
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Submitted[https://github.com/lirios/materialdecoration/pull/9]
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
src/plugins/decorations/material/materialdecoration.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/plugins/decorations/material/materialdecoration.cpp b/src/plugins/decorations/material/materialdecoration.cpp
index 73073f9..3a4a9b6 100644
--- a/src/plugins/decorations/material/materialdecoration.cpp
+++ b/src/plugins/decorations/material/materialdecoration.cpp
@@ -31,6 +31,7 @@
***************************************************************************/
#include <QtMath>
+#include <QPainterPath>
#include "materialdecoration.h"
--
2.26.2

View File

@@ -1,13 +1,12 @@
SUMMARY = "Client-side decoration for all Qt-based Wayland clients"
LICENSE = "LGPLv3"
LIC_FILES_CHKSUM = " \
file://LICENSE.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
"
LIC_FILES_CHKSUM = "file://LICENSE.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02"
inherit liri
PV = "1.1.0+git${SRCPV}"
SRC_URI += "file://0001-Fix-build-with-Qt-5.15.patch"
SRCREV = "6eb7686bb0538d815f52d6bb96a415d41e15b636"
S = "${WORKDIR}/git"