Support Qt <5.7 on KoShape flag usage
ClosedPublic

Authored by pvuorela on Mar 14 2019, 2:47 PM.

Details

Summary

Currently Qt 5.3 is defined as minimum version in root CMakeLists.txt,
but setFlag() was introduced in Qt 5.7. Added more verbose code variants
to be used on those, can be removed when minimum dependency gets high
enough.

Based on patch by Damien Caliste to Sailfish packaging.

Diff Detail

Repository
R8 Calligra
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
pvuorela created this revision.Mar 14 2019, 2:47 PM
Restricted Application added a project: Calligra: 3.0. · View Herald TranscriptMar 14 2019, 2:47 PM
Restricted Application added a subscriber: Calligra-Devel-list. · View Herald Transcript
pvuorela requested review of this revision.Mar 14 2019, 2:47 PM
danders accepted this revision.Mar 15 2019, 7:43 AM
This revision is now accepted and ready to land.Mar 15 2019, 7:43 AM
This revision was automatically updated to reflect the committed changes.