use Q_OS_xxx macros instead of Q_WS_xxx as per QT5 migration guide