Bug 429481 - kompare fails to compile against Qt 5.15.2 due to depreciated print routine
Summary: kompare fails to compile against Qt 5.15.2 due to depreciated print routine
Status: RESOLVED FIXED
Alias: None
Product: kompare
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: PCLinuxOS Linux
: NOR normal
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-21 23:17 UTC by Texstar
Modified: 2021-03-23 12:52 UTC (History)
0 users

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: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!