diff --git a/0001-fix-build-with-qt-5.5.patch b/0001-fix-build-with-qt-5.5.patch new file mode 100644 index 0000000..700cc4b --- /dev/null +++ b/0001-fix-build-with-qt-5.5.patch @@ -0,0 +1,25 @@ +From 7303ea207de0771d6f450a31ec4a1ce69202869b Mon Sep 17 00:00:00 2001 +From: rezso +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 + #include + #include "lxqtglobals.h" + +-- +2.5.2 + diff --git a/liblxqt.changes b/liblxqt.changes index bd1cdeb..40df939 100644 --- a/liblxqt.changes +++ b/liblxqt.changes @@ -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 diff --git a/liblxqt.spec b/liblxqt.spec index 5843af3..e720591 100644 --- a/liblxqt.spec +++ b/liblxqt.spec @@ -24,6 +24,8 @@ License: LGPL-2.1+ Group: Development/Libraries/C and C++ Url: http://www.lxqt.org 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: fdupes BuildRequires: gcc-c++ @@ -63,6 +65,7 @@ lxqt libraries for development %prep %setup -q -n liblxqt-%{version} +%patch -p1 %build %cmake