windows QT mingw32 project, and code patch
Fix compilation paths for windows mingw32