Qt version and a few fixes. Qt loads on windows