QT 5 fixes.
Additional gitignores for Windows.
(fix compiler warning)