1 Allow the 'QtPrinter' header to be found, as described
2 at <https://github.com/LuminanceHDR/LuminanceHDR/issues/11>.
4 diff --git a/CMakeLists.txt b/CMakeLists.txt
5 index fbad8a2..8379c8a 100644
8 @@ -29,6 +29,7 @@ find_package(Qt5Xml)
10 find_package(Qt5Network)
11 find_package(Qt5LinguistTools)
12 +find_package(Qt5PrintSupport REQUIRED)
14 find_package(Qt5WinExtras)
16 diff --git a/src/HelpBrowser/CMakeLists.txt b/src/HelpBrowser/CMakeLists.txt
17 index 04319a8..5537dae 100644
18 --- a/src/HelpBrowser/CMakeLists.txt
19 +++ b/src/HelpBrowser/CMakeLists.txt
20 @@ -29,7 +29,7 @@ QT5_WRAP_UI(FILES_UI_H ${FILES_UI})
23 ADD_LIBRARY(helpbrowser ${FILES_H} ${FILES_CPP} ${FILES_MOC} ${FILES_UI_H} ${FILES_HXX})
24 -qt5_use_modules(helpbrowser Core Concurrent Gui Widgets Xml WebKit WebKitWidgets)
25 +qt5_use_modules(helpbrowser Core Concurrent Gui Widgets Xml WebKit WebKitWidgets PrintSupport)
27 SET(FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${FILES_CPP} ${FILES_H} ${FILES_UI} ${FILES_HXX} PARENT_SCOPE)
28 SET(LUMINANCE_MODULES_GUI ${LUMINANCE_MODULES_GUI} helpbrowser PARENT_SCOPE)