Application Libraries: Fix compile with Qt 5.13 and QT_DISABLE_DEPRECATED_BEFORE=0x060000
ClosedPublic

Authored by marten on Feb 26 2019, 3:16 PM.

Details

Summary

In this Qt version, obsolete functions and variables are now actually hidden in the header files if that compile definition is used.

QLayout::setMargin() -> setContentsMargins()

Test Plan

Builds and runs correctly with Qt version 5.13.0.

Diff Detail

Repository
R82 KDE PIM Application Libraries
Lint
Lint Skipped
Unit
Unit Tests Skipped
marten created this revision.Feb 26 2019, 3:16 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptFeb 26 2019, 3:16 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
marten requested review of this revision.Feb 26 2019, 3:16 PM
dvratil accepted this revision.Feb 26 2019, 4:59 PM
This revision is now accepted and ready to land.Feb 26 2019, 4:59 PM
This revision was automatically updated to reflect the committed changes.