replaced Q_WS_WIN with Q_OS_WIN