View Full Version : QImage* to QImage

19th June 2011, 10:57
Hi all!

i'm trying to implement my sendimage library and sendimage function to my project, but i've got some errors.

First of all, my sendimage library uses a non scalar QImage variable (QImage image). but I need to use a scalar QImage variable (QImage *image) to convert from IplImage data structure to QImage data structure.

How can i convert from a scalar QImage to a non - scalar QImage variable so that i can use my sendimage library ?

Any advice ? Thank you.

19th June 2011, 12:15
dereference it?

QImage image = *image2;