From 9fc5db846cc1a2ff8ec2b09fac6065148c617672 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Tue, 10 Nov 2015 08:49:09 -0200 Subject: [PATCH] kdeclarative: Add include of QDebug for kpackagelauncherqml The GCC triggers a build error as: | .../src/kpackagelauncherqml/main.cpp: In function 'int main(int, char**)': | .../src/kpackagelauncherqml/main.cpp:70:18: error: invalid use of incomplete type 'class QDebug' | qWarning() << "The specified Application package is not valid."; Fix this adding the missing include of QDebug header file. Signed-off-by: Otavio Salvador --- ...agelauncherqml-Add-include-of-QDebug.patch | 36 +++++++++++++++++++ .../kf5/tier3/kdeclarative/kdeclarative.bb | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 recipes-kde/kf5/tier3/kdeclarative/files/0001-kpackagelauncherqml-Add-include-of-QDebug.patch diff --git a/recipes-kde/kf5/tier3/kdeclarative/files/0001-kpackagelauncherqml-Add-include-of-QDebug.patch b/recipes-kde/kf5/tier3/kdeclarative/files/0001-kpackagelauncherqml-Add-include-of-QDebug.patch new file mode 100644 index 00000000..a60f5167 --- /dev/null +++ b/recipes-kde/kf5/tier3/kdeclarative/files/0001-kpackagelauncherqml-Add-include-of-QDebug.patch @@ -0,0 +1,36 @@ +From 4abd065ef3e2778c1c55a82212d9eb796f62858e Mon Sep 17 00:00:00 2001 +From: Otavio Salvador +Date: Tue, 10 Nov 2015 08:43:14 -0200 +Subject: [PATCH] kpackagelauncherqml: Add include of QDebug +Organization: O.S. Systems Software LTDA. + +The GCC triggers a build error as: + +| .../src/kpackagelauncherqml/main.cpp: In function 'int main(int, char**)': +| .../src/kpackagelauncherqml/main.cpp:70:18: error: invalid use of incomplete type 'class QDebug' +| qWarning() << "The specified Application package is not valid."; + +Fix this adding the missing include of QDebug header file. + +Upstream-Status: Pending + +Signed-off-by: Otavio Salvador +--- + src/kpackagelauncherqml/main.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/kpackagelauncherqml/main.cpp b/src/kpackagelauncherqml/main.cpp +index 79e3fa1..3adf2d1 100644 +--- a/src/kpackagelauncherqml/main.cpp ++++ b/src/kpackagelauncherqml/main.cpp +@@ -18,6 +18,7 @@ + */ + + #include ++#include + + #include + #include +-- +2.1.4 + diff --git a/recipes-kde/kf5/tier3/kdeclarative/kdeclarative.bb b/recipes-kde/kf5/tier3/kdeclarative/kdeclarative.bb index ecc56f89..9e1cfdf9 100644 --- a/recipes-kde/kf5/tier3/kdeclarative/kdeclarative.bb +++ b/recipes-kde/kf5/tier3/kdeclarative/kdeclarative.bb @@ -9,6 +9,8 @@ inherit kde-kf5 cmake-lib DEPENDS += "qtdeclarative kconfig ki18n kiconthemes kio kwidgetsaddons kwindowsystem kglobalaccel kguiaddons kpackage libepoxy" +SRC_URI += "file://0001-kpackagelauncherqml-Add-include-of-QDebug.patch" + PV = "${KF5_VERSION}" SRC_URI[md5sum] = "6d016b4a482e34fd75e12bb773ab68ae" SRC_URI[sha256sum] = "627ce0d7f141c6fa11d0a86e7999ba7c549bf465839b5d164ef78bb24529bb1b"