It has been roughly a month I have started working with Qt. Right now I am trying to vie an image in perspective view. Lets say I want to rotate the image in along the Y axis, I am using the Qtransform function to rotate.. here is the code snippet.
image = QImage(":/images/livingroom.jpg");
image = image.scaledToWidth(this->width());
image = image.transformed(transform);
But this is not producing the desired results. The result image is not a perspective view. Can anybody please help me in achieving this?
Please don't post the same thing multiple times. Continue all discussion at http://qt-project.org/forums/viewthread/39934/