Merge pull request #208150 from ErinvanderVeen/olive-q-painter-path

olive-editor: resolve missing QPainterPath issue
This commit is contained in:
Alexander Bantyev 2022-12-30 01:27:42 +04:00 committed by GitHub
commit 4e8ffd0c8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 52 additions and 0 deletions

View file

@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
sha256 = "151g6jwhipgbq4llwib92sq23p1s9hm6avr7j4qq3bvykzrm8z1a";
};
patches = [
./q-painter-path.patch
];
nativeBuildInputs = [
pkg-config
which

View file

@ -0,0 +1,48 @@
diff --git a/effects/internal/texteffect.cpp b/effects/internal/texteffect.cpp
index 279f406d9..7fe9e8e72 100644
--- a/effects/internal/texteffect.cpp
+++ b/effects/internal/texteffect.cpp
@@ -20,6 +20,7 @@
#include "texteffect.h"
+#include <QPainterPath>
#include <QGridLayout>
#include <QLabel>
#include <QOpenGLTexture>
diff --git a/effects/internal/timecodeeffect.cpp b/effects/internal/timecodeeffect.cpp
index 4de3e3497..fd0fa6224 100644
--- a/effects/internal/timecodeeffect.cpp
+++ b/effects/internal/timecodeeffect.cpp
@@ -20,6 +20,7 @@
#include "timecodeeffect.h"
+#include <QPainterPath>
#include <QGridLayout>
#include <QLabel>
#include <QOpenGLTexture>
diff --git a/ui/graphview.cpp b/ui/graphview.cpp
index 3e13075cd..c441133a8 100644
--- a/ui/graphview.cpp
+++ b/ui/graphview.cpp
@@ -20,6 +20,7 @@
#include "graphview.h"
+#include <QPainterPath>
#include <QPainter>
#include <QMouseEvent>
#include <QtMath>
diff --git a/ui/timelineheader.cpp b/ui/timelineheader.cpp
index f39065b4f..aa7fd638d 100644
--- a/ui/timelineheader.cpp
+++ b/ui/timelineheader.cpp
@@ -20,6 +20,7 @@
#include "timelineheader.h"
+#include <QPainterPath>
#include <QPainter>
#include <QMouseEvent>
#include <QScrollBar>