mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
6e51374a3f
Signed-off-by: David Spencer <baildon.research@googlemail.com>
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
Description: Fix build error with Qt >= 5.3.2
|
|
Upstream's 07e36ef892343b01bf13545866823e6a55044382 does essentially the
|
|
same thing.
|
|
Author: Andreas Metzler <ametzler@debian.org>
|
|
Bug-Debian: https://bugs.debian.org/763224
|
|
Origin: vendor
|
|
Forwarded: not-needed
|
|
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -29,6 +29,7 @@ find_package(Qt5Xml)
|
|
find_package(Qt5Sql)
|
|
find_package(Qt5Network)
|
|
find_package(Qt5LinguistTools)
|
|
+find_package(Qt5PrintSupport)
|
|
IF(WIN32)
|
|
find_package(Qt5WinExtras)
|
|
ENDIF()
|
|
--- a/src/HelpBrowser/CMakeLists.txt
|
|
+++ b/src/HelpBrowser/CMakeLists.txt
|
|
@@ -29,7 +29,7 @@ QT5_WRAP_UI(FILES_UI_H ${FILES_UI})
|
|
|
|
|
|
ADD_LIBRARY(helpbrowser ${FILES_H} ${FILES_CPP} ${FILES_MOC} ${FILES_UI_H} ${FILES_HXX})
|
|
-qt5_use_modules(helpbrowser Core Concurrent Gui Widgets Xml WebKit WebKitWidgets)
|
|
+qt5_use_modules(helpbrowser Core Concurrent Gui Widgets Xml WebKit WebKitWidgets PrintSupport)
|
|
|
|
SET(FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${FILES_CPP} ${FILES_H} ${FILES_UI} ${FILES_HXX} PARENT_SCOPE)
|
|
SET(LUMINANCE_MODULES_GUI ${LUMINANCE_MODULES_GUI} helpbrowser PARENT_SCOPE)
|