Originally Posted by Maluko_Da_Tola QLabel *labelImagem=new QLabel; labelImagem->setPicture(image); but it won't compile. Any suggestions what is going wrong? Surprise, surprise. QImage != QPicture! use: Qt Code: Switch view QLabel l;l.setPixmap(QPixmap::fromImage(yourImage)); QLabel l; l.setPixmap(QPixmap::fromImage(yourImage)); To copy to clipboard, switch view to plain text mode
QLabel l;l.setPixmap(QPixmap::fromImage(yourImage));
QLabel l; l.setPixmap(QPixmap::fromImage(yourImage));
Maluko_Da_Tola (4th August 2010)
Forum Rules
Bookmarks