tupitube/0001-Fix-build-with-Qt-5.15.patch

39 lines
1.1 KiB
Diff
Raw Normal View History

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