Bug 429480 - kaddressbook fails to compile on QT 5.15.2 due to deprecated print routine
Summary: kaddressbook fails to compile on QT 5.15.2 due to deprecated print routine
Status: RESOLVED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-21 23:13 UTC by Texstar
Modified: 2020-11-29 18:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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