fix compilation errors on OpenEuler Signed-off-by: kylinsecos_admin <gitee@kylinos.com.cn>
65 lines
1.8 KiB
Diff
65 lines
1.8 KiB
Diff
From 8cd5a1483f08aab72e8638e98558968863bdb493 Mon Sep 17 00:00:00 2001
|
|
From: root <root@localhost.localdomain>
|
|
Date: Tue, 25 Jan 2022 20:14:23 +0800
|
|
Subject: [PATCH] fix(build): fix incomplete type 'class QPainterPath' build
|
|
error
|
|
|
|
---
|
|
src/third-party/Qt-Color-Widgets/src/color_wheel.cpp | 1 +
|
|
src/tools/arrow/arrowtool.cpp | 1 +
|
|
src/widgets/capture/capturewidget.h | 1 +
|
|
src/widgets/capture/formtip.cpp | 1 +
|
|
4 files changed, 4 insertions(+)
|
|
|
|
diff --git a/src/third-party/Qt-Color-Widgets/src/color_wheel.cpp b/src/third-party/Qt-Color-Widgets/src/color_wheel.cpp
|
|
index 335b29c..222a7eb 100644
|
|
--- a/src/third-party/Qt-Color-Widgets/src/color_wheel.cpp
|
|
+++ b/src/third-party/Qt-Color-Widgets/src/color_wheel.cpp
|
|
@@ -28,6 +28,7 @@
|
|
#include <QDragEnterEvent>
|
|
#include <QMimeData>
|
|
#include "color_utils.hpp"
|
|
+#include <QPainterPath>
|
|
|
|
namespace color_widgets {
|
|
|
|
diff --git a/src/tools/arrow/arrowtool.cpp b/src/tools/arrow/arrowtool.cpp
|
|
index 8037b1a..c9e6737 100644
|
|
--- a/src/tools/arrow/arrowtool.cpp
|
|
+++ b/src/tools/arrow/arrowtool.cpp
|
|
@@ -17,6 +17,7 @@
|
|
|
|
#include "arrowtool.h"
|
|
#include <QDebug>
|
|
+#include <QPainterPath>
|
|
|
|
namespace {
|
|
|
|
diff --git a/src/widgets/capture/capturewidget.h b/src/widgets/capture/capturewidget.h
|
|
index 0cc148a..79246e4 100644
|
|
--- a/src/widgets/capture/capturewidget.h
|
|
+++ b/src/widgets/capture/capturewidget.h
|
|
@@ -47,6 +47,7 @@
|
|
#include <QHBoxLayout>
|
|
#include <QStackedWidget>
|
|
#include <QLabel>
|
|
+#include <QPainterPath>
|
|
|
|
|
|
|
|
diff --git a/src/widgets/capture/formtip.cpp b/src/widgets/capture/formtip.cpp
|
|
index f3de166..27a6d29 100644
|
|
--- a/src/widgets/capture/formtip.cpp
|
|
+++ b/src/widgets/capture/formtip.cpp
|
|
@@ -2,6 +2,7 @@
|
|
|
|
#include <QPainter>
|
|
#include <QMouseEvent>
|
|
+#include <QPainterPath>
|
|
|
|
FormTip::FormTip(QWidget *parent) : QWidget(parent)
|
|
{
|
|
--
|
|
2.33.0
|
|
|