Fix compile with Qt 5.13 and QT_DISABLE_DEPRECATED_BEFORE=0x060000
Differential Revision: https://phabricator.kde.org/D19342