Bug 429481

Summary: kompare fails to compile against Qt 5.15.2 due to depreciated print routine
Product: [Applications] kompare Reporter: Texstar <texstar>
Component: generalAssignee: Kompare developers <kompare-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: PCLinuxOS   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Texstar 2020-11-21 23:17:19 UTC
SUMMARY
/komparepart/kompare_part.cpp:613:13: error: ‘class QPrinter’ has no member named ‘setOrientation’; did you mean ‘Orientation’?


STEPS TO REPRODUCE
1. try to compile against Qt 5.15.2

OBSERVED RESULT
Compile fails

EXPECTED RESULT
Compile to complete

SOFTWARE/OS VERSIONS

Current versions of KDE plasma,frameworks and applications
Qt Version: 5.15.2
Comment 1 Kevin Kofler 2020-11-21 23:32:53 UTC
Delete the "-DQT_DISABLE_DEPRECATED_BEFORE=…" line from CMakeLists.txt.

I am likely going to do that in git. People need to stop adding this nonsense to the projects I maintain without my approval.
Comment 2 Texstar 2020-11-21 23:54:15 UTC
*Fixed* Thank you so much Kevin!