On quarta-feira, 20 de junho de 2012 21.32.17, Waitman Gobble wrote: > path = model->filePath(index); > qDebug() << path; > > QPixmap pm(path); > statusBar()->showMessage( > tr("puf (%1) ") > .arg(pm.width()+","+pm.height())); > > gs->clear(); > gs->addPixmap(pm); > gs->setSceneRect(pm.rect()); > gv->setScene(gs); > gv->update(); > > message: > "/home/waitman/pv2012/2012-06-15/marina/DCIM/100CANON/ppm/IMG_6651.ppm" > "" > The program has unexpectedly finished.
The fact that we see the first debug indicates that the second line of your code ran fine. But there's another "" debug and I don't see a matching qDebug(). Which line, exactly, did your program crash in? Please get the values of all pointers used in that line and tell us how sure (100%, less than 100%) that they were properly initialised. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest