From 6de5cfb7a400897e6644668ffa9d0d4926b74590 Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Tue, 21 Apr 2015 18:05:20 +0200 Subject: Printing: Add Printer class that holds the rendering logic. Render Html pages into a QWebView then print it using QPainter. the Printer::print() is called that prepare the HTML file to be rendered by the QWebView. Printer::render() will do the rendering task. Signed-off-by: Gehad elrobey Signed-off-by: Lubomir I. Ivanov Signed-off-by: Dirk Hohndel --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index a93ccbab5..34fc57659 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -261,6 +261,7 @@ set(SUBSURFACE_CORE_LIB_SRCS configuredivecomputerthreads.cpp divesitehelpers.cpp templatelayout.cpp + printer.cpp ${PLATFORM_SRC} ) source_group("Subsurface Core" FILES ${SUBSURFACE_CORE_LIB_SRCS}) -- cgit v1.2.3-70-g09d2