Accepting request 722601 from KDE:Extra

Fix build with Qt5.13

OBS-URL: https://build.opensuse.org/request/show/722601
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kexi?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2019-08-13 11:22:33 +00:00 committed by Git OBS Bridge
commit 9be2b04440
3 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,20 @@
commit 511d99b7745a6ce87a208bdbf69e631f1f136d53
Author: Luca Beltrame <lbeltrame@kde.org>
Date: Sun Jul 21 09:07:44 2019 +0200
Fix build with Qt 5.13
The QDate include is no longer included transitively.
diff --git a/src/plugins/forms/widgets/kexidbdatepicker.cpp b/src/plugins/forms/widgets/kexidbdatepicker.cpp
index 1e0692d5b..92a5c880b 100644
--- a/src/plugins/forms/widgets/kexidbdatepicker.cpp
+++ b/src/plugins/forms/widgets/kexidbdatepicker.cpp
@@ -22,6 +22,7 @@
#include "kexidbdatepicker.h"
#include <kexiutils/utils.h>
+#include <QDate>
#include <QLineEdit>
#include <QInputMethodEvent>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 12 08:26:44 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
- Add Fix-build-with-Qt-5_13.patch
-------------------------------------------------------------------
Thu Apr 11 12:09:19 UTC 2019 - wbauer@tmo.at

View File

@ -26,6 +26,8 @@ License: GPL-2.0-or-later AND LGPL-2.1-or-later AND GFDL-1.2-only
Group: Productivity/Office/Suite
URL: http://www.kexi-project.org/
Source0: https://download.kde.org/stable/%{name}/src/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM
Patch0: Fix-build-with-Qt-5_13.patch
BuildRequires: breeze5-icons
BuildRequires: extra-cmake-modules
BuildRequires: glib2-devel
@ -94,7 +96,7 @@ This package contains a Spreadsheet-to-Kexi-table import plugin.
%lang_package
%prep
%setup -q
%autosetup -p1
%build
# install translations to %{_kf5_localedir} so they don't clash with the kexi translations in calligra-l10n (KDE4 based)