Bug 368147

Summary: Build failure: QPrinter not found
Product: [Unmaintained] kjots Reporter: Christoph Feck <cfeck>
Component: generalAssignee: Stephen Kelly <steveire>
Status: RESOLVED FIXED    
Severity: normal CC: lueck
Priority: NOR    
Version First Reported In: GIT (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Christoph Feck 2016-09-02 10:47:03 UTC
Kjots uses QPrinter, but does not search for Qt5::PrintSupport in the CMakeLists.txt file.

Build log:

-- Build files have been written to: pim/kjots
In file included from pim/kjots/src/kjotswidget.cpp:26:0:
pim/kjots/src/kjotswidget.h:32:20: fatal error: QPrinter: No such file or directory
 #include <QPrinter>
                    ^
compilation terminated.
Comment 1 Christoph Feck 2016-09-10 13:42:28 UTC
Git commit bebc6809294227f7acb2179ff395838ad843e0c1 by Raymond Wooninck.
Committed on 10/09/2016 at 13:32.
Pushed by rwooninck into branch 'master'.

Fix build with searching for Qt5 modules and port kde4_add_app_icon to ecm_add_app_icon

M  +5    -0    CMakeLists.txt
M  +3    -2    src/CMakeLists.txt

http://commits.kde.org/kjots/bebc6809294227f7acb2179ff395838ad843e0c1