Bug 429480

Summary: kaddressbook fails to compile on QT 5.15.2 due to deprecated print routine
Product: [Applications] kaddressbook Reporter: Texstar <texstar>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: peter, tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Texstar 2020-11-21 23:13:34 UTC
SUMMARY
/src/printing/compact/compactstyle.cpp:187:66: error: no matching function for call to ‘QPrinter::setPageMargins(int, int, int, int, QPrinter::Unit)’

STEPS TO REPRODUCE
1. Try to compile kaddressbook against Qt 5.15.2

OBSERVED RESULT
Compile fails

EXPECTED RESULT
Compile to complete

Summary:
Latest versions of KDE

Qt Version: 5.15.2
Comment 1 Texstar 2020-11-22 00:00:39 UTC
*Fixed*

Delete the "-DQT_DISABLE_DEPRECATED_BEFORE=…" line from CMakeLists.txt.
Comment 2 Christophe Marin 2020-11-26 10:28:15 UTC
Already fixed