Qt 5 Porting: Q_WS_WIN -> Q_OS_WIN
(cherry picked from commit 4c1df50d522a09577274e19a8fe66bd865f3a2da)