[PyQt] QGraphicsPixmapItem not showing set pixmap

dizou di_zou at yahoo.com
Thu Jan 21 13:42:02 GMT 2010


print QFile.exists('/.../.../pic1.png') outputs True. 
I am doing pic = QPixmap('/../../pic1.png') not
pic = QPixmap('../../pic1.png')


nickgaens wrote:
> 
> Did you try QFile.exists('/.../.../pic1.png') ?
> 
> I'm guessing you are trying to do:
> 
> pic = QPixmap('../../pic1.png') <- note the change in the path to the 
> image file.
> 
> 
> Nick
> 
> 

-- 
View this message in context: http://old.nabble.com/QGraphicsPixmapItem-not-showing-set-pixmap-tp27229352p27257891.html
Sent from the PyQt mailing list archive at Nabble.com.



More information about the PyQt mailing list