Re: display image in qlabel
Was your Qt built with jpeg support ?
You need to add -qt-libjpeg to configure.exe options.
Otherwise code looks fine. you can try "D:\\images\\img1.jpg"
Re: display image in qlabel
I also can't get it to work. Tried it with png as well.
Tried adding the image in resources and then setting style sheet but still not able to view an image.
Any Help?
Re: display image in qlabel
Are you running app outside of QtCreator ?
Does the application directory have imageformats folder ?