How can i rotate a pixmap from horizontally to vertically?
I want to display a horizontal image as vertical image using painter. I have tried painter.rotate(value); but i am getting the distorted image.
have you tried to use QPixmap::transform method ?
From the Qt docs, we can invoke QTransform::rotate (90), and QTrasformationMode with Qt::SmoothTransformation using bilinear filtering.