(1)矩阵旋转90度 QMatrix matrix; matrix.rotate(90.0); (2)图片旋转90度 QPixmap Pixmap; Pixmap = m_Pixmap->transformed(matrix);