[PyQt] Problem displaying images in QLabel (Newbie)

bar tomas bartomas at gmail.com
Sun Feb 28 20:27:39 GMT 2010


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 <mail at nickgaens.com> 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 <bartomas at gmail.com> 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    PyQt at riverbankcomputing.com
>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
>
>
> --
> Nick Gaens
>


More information about the PyQt mailing list