forked from pool/liblxqt
Accepting request 337216 from X11:LXQt
fix build. include QObject explicitly. OBS-URL: https://build.opensuse.org/request/show/337216 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liblxqt?expand=0&rev=4
This commit is contained in:
parent
e5064ec17e
commit
55083fe6af
25
0001-fix-build-with-qt-5.5.patch
Normal file
25
0001-fix-build-with-qt-5.5.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 7303ea207de0771d6f450a31ec4a1ce69202869b Mon Sep 17 00:00:00 2001
|
||||||
|
From: rezso <rezso@rezso.net>
|
||||||
|
Date: Sun, 5 Jul 2015 18:46:13 +0200
|
||||||
|
Subject: [PATCH 01/17] fix build with qt 5.5
|
||||||
|
|
||||||
|
(lxqtnotification.h:43:5: error: 'Q_OBJECT' does not name a type)
|
||||||
|
---
|
||||||
|
lxqtnotification.h | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/lxqtnotification.h b/lxqtnotification.h
|
||||||
|
index 4334a55..2d74504 100644
|
||||||
|
--- a/lxqtnotification.h
|
||||||
|
+++ b/lxqtnotification.h
|
||||||
|
@@ -25,6 +25,7 @@
|
||||||
|
#ifndef LXQTNOTIFICATION_H
|
||||||
|
#define LXQTNOTIFICATION_H
|
||||||
|
|
||||||
|
+#include <QObject>
|
||||||
|
#include <QStringList>
|
||||||
|
#include "lxqtglobals.h"
|
||||||
|
|
||||||
|
--
|
||||||
|
2.5.2
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 8 10:31:22 UTC 2015 - mvetter@suse.com
|
||||||
|
|
||||||
|
- Factory moved fom libqt5.4 to 5.5
|
||||||
|
0001-fix-build-with-qt-5.5.patch: include QObject header explicitly
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 9 13:59:41 UTC 2015 - mvetter@suse.com
|
Thu Jul 9 13:59:41 UTC 2015 - mvetter@suse.com
|
||||||
|
|
||||||
|
@ -24,6 +24,8 @@ License: LGPL-2.1+
|
|||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://www.lxqt.org
|
Url: http://www.lxqt.org
|
||||||
Source: http://downloads.lxqt.org/lxqt/%{version}/liblxqt-%{version}.tar.xz
|
Source: http://downloads.lxqt.org/lxqt/%{version}/liblxqt-%{version}.tar.xz
|
||||||
|
#factory moved to libqt5.5, we need to include QObject explicitly there
|
||||||
|
Patch: 0001-fix-build-with-qt-5.5.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -63,6 +65,7 @@ lxqt libraries for development
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n liblxqt-%{version}
|
%setup -q -n liblxqt-%{version}
|
||||||
|
%patch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake
|
%cmake
|
||||||
|
Loading…
Reference in New Issue
Block a user