Some updates for building qtpaint on Windows