diff -Nru kst-2.0.8/debian/changelog kst-2.0.8/debian/changelog --- kst-2.0.8/debian/changelog 2017-11-25 12:13:26.000000000 +0000 +++ kst-2.0.8/debian/changelog 2018-08-05 19:02:45.000000000 +0000 @@ -1,3 +1,11 @@ +kst (2.0.8-3) unstable; urgency=medium + + * QA upload. + * Add upstream_Fix-build-with-Qt-5.11.patch to fix build with recent + Qt version. + + -- Aurelien Jarno Sun, 05 Aug 2018 21:02:45 +0200 + kst (2.0.8-2) unstable; urgency=low * QA upload. diff -Nru kst-2.0.8/debian/patches/series kst-2.0.8/debian/patches/series --- kst-2.0.8/debian/patches/series 2017-07-01 14:05:06.000000000 +0000 +++ kst-2.0.8/debian/patches/series 2018-08-05 19:02:24.000000000 +0000 @@ -4,3 +4,4 @@ upstream_Fix-hypens-used-as-minus-signs.patch upstream_desktop-add-f-placeholder-for-Exec.patch gsl-2.0-ftbfs +upstream_Fix-build-with-Qt-5.11.patch diff -Nru kst-2.0.8/debian/patches/upstream_Fix-build-with-Qt-5.11.patch kst-2.0.8/debian/patches/upstream_Fix-build-with-Qt-5.11.patch --- kst-2.0.8/debian/patches/upstream_Fix-build-with-Qt-5.11.patch 1970-01-01 00:00:00.000000000 +0000 +++ kst-2.0.8/debian/patches/upstream_Fix-build-with-Qt-5.11.patch 2018-08-05 19:01:59.000000000 +0000 @@ -0,0 +1,47 @@ +From 9fc5140791ec00d6df2d65973f3ca61df17b1d47 Mon Sep 17 00:00:00 2001 +From: Christophe Giboudeaux +Date: Sun, 3 Jun 2018 19:43:34 +0200 +Subject: [PATCH] Fix build with Qt 5.11 + +Summary: +- qt5_use_modules was removed in Qt 5.11. use target_link_libraries instead. +- Add a missing #include + +Subscribers: kde-edu + +Tags: #kde_edu + +Differential Revision: https://phabricator.kde.org/D13339 +--- + cmake/modules/KstMacros.cmake | 2 +- + src/libkstapp/view.h | 1 + + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/cmake/modules/KstMacros.cmake b/cmake/modules/KstMacros.cmake +index 4ff9c151..bc3d8a6c 100644 +--- a/cmake/modules/KstMacros.cmake ++++ b/cmake/modules/KstMacros.cmake +@@ -240,7 +240,7 @@ endmacro() + macro(kst_link) + target_link_libraries(${kst_name} ${ARGV}) + if(kst_qt5) +- qt5_use_modules(${kst_name} Widgets Xml Network PrintSupport) ++ target_link_libraries(${kst_name} Qt5::Widgets Qt5::Xml Qt5::Network Qt5::PrintSupport) + else() + target_link_libraries(${kst_name} + ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTSVG_LIBRARY} ${QT_QTNETWORK_LIBRARY}) +diff --git a/src/libkstapp/view.h b/src/libkstapp/view.h +index 95c8c6a5..2af53938 100644 +--- a/src/libkstapp/view.h ++++ b/src/libkstapp/view.h +@@ -14,6 +14,7 @@ + #define VIEW_H + + #include ++#include + + #include "kst_export.h" + +-- +2.18.0 +