Using pixmapFromImageInPlace() instead of QPixmap::fromImage().
Currently only MSVC build is Ok, Xcode and QtCreator are broken.