tupitube/0001-Fix-build-with-Qt-5.15.patch
Luigi Baldoni 250ce6ba79 Accepting request 812030 from home:cgiboudeaux:branches:graphics
- Update to 0.2.15. No changelog.
- Rebase tupitube.quazip5.patch
- Drop tupitube.libav.patch. No longer necessary.
- Add patch to fix build with Qt 5.15:
  * 0001-Fix-build-with-Qt-5.15.patch
- Spec cleanup

OBS-URL: https://build.opensuse.org/request/show/812030
OBS-URL: https://build.opensuse.org/package/show/graphics/tupitube?expand=0&rev=7
2020-06-06 11:17:07 +00:00

39 lines
1.1 KiB
Diff

From 05c79e59b74c137227b87dea2a37a8a3453254c5 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christophe@krop.fr>
Date: Thu, 4 Jun 2020 23:47:00 +0200
Subject: [PATCH] Fix build with Qt 5.15
---
src/components/exposure/tupexposuretable.cpp | 2 ++
src/framework/gui/tslider.cpp | 1 +
2 files changed, 3 insertions(+)
diff --git a/src/components/exposure/tupexposuretable.cpp b/src/components/exposure/tupexposuretable.cpp
index 53df3bb..da4cfe9 100644
--- a/src/components/exposure/tupexposuretable.cpp
+++ b/src/components/exposure/tupexposuretable.cpp
@@ -36,6 +36,8 @@
#include "tupexposuretable.h"
#include "tconfig.h"
+#include <QPainterPath>
+
class TUPITUBE_EXPORT TupExposureVerticalHeader : public QHeaderView
{
public:
diff --git a/src/framework/gui/tslider.cpp b/src/framework/gui/tslider.cpp
index 206055e..de3d13b 100644
--- a/src/framework/gui/tslider.cpp
+++ b/src/framework/gui/tslider.cpp
@@ -38,6 +38,7 @@
#include "tapplicationproperties.h"
#include <QDesktopWidget>
+#include <QPainterPath>
#ifdef TUP_DEBUG
#include <QDebug>
--
2.26.2