Can we do like this? Mine is very simple. It works ( I think ) can you guys help check this?

Qt Code:
  1. IplImage * img = cvLoadImage( "C:\\Users\\Pictures\\dodo19.jpg");
  2. cvCvtColor(img,img,CV_BGR2RGB);
  3. m_i = QImage((unsigned char *)img->imageDataOrigin,img->width,img->height,QImage::Format_RGB888);
  4. imageLabel->setPixmap(QPixmap::fromImage(m_i,0));
To copy to clipboard, switch view to plain text mode 

The picture looks good in the Qt Dialog. Please check if doing like this does really work fine.