replaced Q_WS_WIN with Q_OS_WIN
Merge pull request #225 from TheOneRing/Q_WS_WIN_to_Q_OS_WIN

replaced Q_WS_WIN with Q_OS_WIN
Some qt5 fixes for Windows
fixed another HWND cast