Substitute lines 12 and 13 with: Qt Code: Switch view QGraphicsPixmapItem *item = new QGraphicsPixmapItem(QPixmap("yourpixmapfilehere.png"), &scene); QGraphicsPixmapItem *item = new QGraphicsPixmapItem(QPixmap("yourpixmapfilehere.png"), &scene); To copy to clipboard, switch view to plain text mode
QGraphicsPixmapItem *item = new QGraphicsPixmapItem(QPixmap("yourpixmapfilehere.png"), &scene);
sincnarf (4th October 2007)
Forum Rules
Bookmarks