Qt Snippet: Create QPixmap with transparent background

If you want to create a QPixamp object with transparent background you simply need to fill the entire area with transparent color immediately after created. After doing this you can start to draw over.