Dominique Leuenberger 2020-06-03 18:32:07 +00:00 committed by Git OBS Bridge
commit e859995e09
3 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,25 @@
From 7cd17bca4fb8369b5e1c5822ac1c79574766d3e7 Mon Sep 17 00:00:00 2001
From: Eike Ziller <eike.ziller@qt.io>
Date: Wed, 6 May 2020 10:34:01 +0200
Subject: [PATCH] Fix build against Qt 5.15
After qtbase/487dd80bce9c6006f349ccb09222e1c308200f0a which adds
a meta type declaration
---
plugins/network/networksupport.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/plugins/network/networksupport.cpp b/plugins/network/networksupport.cpp
index 32191d0ca..97db54222 100644
--- a/plugins/network/networksupport.cpp
+++ b/plugins/network/networksupport.cpp
@@ -89,7 +89,9 @@ Q_DECLARE_METATYPE(QNetworkInterface::InterfaceFlags)
#endif
Q_DECLARE_METATYPE(QNetworkProxy::Capabilities)
Q_DECLARE_METATYPE(QNetworkProxy::ProxyType)
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
Q_DECLARE_METATYPE(QSocketNotifier::Type)
+#endif
#ifndef QT_NO_SSL
Q_DECLARE_METATYPE(QSsl::KeyAlgorithm)
Q_DECLARE_METATYPE(QSsl::KeyType)

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 2 09:58:03 UTC 2020 - Fabian Vogt <fvogt@suse.com>
- Add another patch to fix build against Qt 5.15:
* fix-build-with-qt-5.15-again.patch
-------------------------------------------------------------------
Thu May 7 07:32:15 UTC 2020 - Fabian Vogt <fvogt@suse.com>

View File

@ -32,6 +32,7 @@ Source: https://github.com/KDAB/GammaRay/releases/download/v%{version}/%
Patch0: Fix_icons_installation.patch
# PATCH-FIX-UPSTREAM
Patch2: 0001-Fix-build-with-Qt-5.15.patch
Patch3: fix-build-with-qt-5.15-again.patch
BuildRequires: binutils-devel
BuildRequires: cmake >= 3.1
BuildRequires: doxygen