[Qt-interest] QPainter segmentation fault on Linux

Davide davide83 at gmail.com
Thu Feb 19 16:59:26 CET 2009


On Thu, Feb 19, 2009 at 4:30 PM, Srdjan Todorovic
<todorovic.s at googlemail.com> wrote:
> >    *qImage = QImage((u8*)Image.data, Image.width, Image.height,
> > QImage::Format_RGB16);
>
> Did you *really* mean  *qImage? As in qImage is a pointer variable?

Sorry but I don't understand your question.

qImage is a pointer
         QImage *qImage;
Initialized in the class constructor
         qImage = new QImage();

There are errors in my code?
Thanks

--
Davide



More information about the Qt-interest-old mailing list