You are not logged in.


Friday, April 19th 2013, 12:24pm

Not able to create transparent image using QPAinter/Qimage


I have posted my question on…circle-using-qt ,trie that but didn't work. I'm working in Blackberry cascades(c++). Want to set a transparent image and then draw an arc over it.Please can somebody show a working code for it?A Totally transparent background.Right now its giving me black BG

This post has been edited 1 times, last edit by "" (Apr 19th 2013, 12:32pm)



  • "_Blueman" is male

Posts: 196

Location: Poland

  • Send private message


Friday, April 19th 2013, 1:40pm

did you check it on another system (it may be problem on Blackberry platform) ? or with

Source code



Tuesday, April 23rd 2013, 4:45am

No, I'm working on Blackberry platform only. That has been solved now...It was problem while conversation

const bb::ImageData imageData = bb::ImageData::fromPixels(finalImage.bits(), bb::PixelFormat::RGBA_Premultiplied, finalImage.width(), finalImage.height(), finalImage.bytesPerLine());

used this and it shows correctly now. But somehow it displays image corners streched out (with grey color)