Image Mosaic program with qt