Well, you can print the output of this method: http://doc.trolltech.com/4.6/qfile.html#exists, after feeding it the path you're using at the moment..
<http://doc.trolltech.com/4.6/qfile.html#exists> On Sun, Feb 28, 2010 at 9:27 PM, bar tomas <[email protected]> wrote: > Many thanks for trying to help me. > I think the image file can be found because I can preview the form ok > from QtDesigner. > Do I need to do any steps to convert the image to a resource? (i dont > really understand the difference between an image and a resource in > Qt). > Many thanks again for your patience. > > On Thu, Feb 25, 2010 at 3:00 PM, Nick Gaens <[email protected]> wrote: > > I'm guessing it has to do with the .png file not being found, but without > > some example code, only supernatural powered humans can help you :-). > > > > On Wed, Feb 24, 2010 at 4:11 PM, bar tomas <[email protected]> wrote: > >> > >> Hi, > >> I'm programming in PyQt using the Eric4 IDE and QtDesigner. > >> I've created a QLabel containing a png image that displays fine when > >> previewing the form in QtDesigner, but when I execute my python > >> program from Eric, the image is not visible. > >> Do you know what I'm doing wrong? > >> Many thanks. > >> _______________________________________________ > >> PyQt mailing list [email protected] > >> http://www.riverbankcomputing.com/mailman/listinfo/pyqt > > > > > > > > -- > > Nick Gaens > > > _______________________________________________ > PyQt mailing list [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
