Replaced all Q_WS_WIN -> Q_OS_WIN for Qt 5 compatibility