Fix build with Qt 5.9 and lower
QApplication::screenAt() only exists since 5.10.
Differential Revision: https://phabricator.kde.org/D28049