[Qt-interest] Images not showing in application
Robert Wood
robert.wood at apostrophe.co.uk
Sun May 1 12:13:14 CEST 2011
I have a problem when inserting images into an application in that when
I run the application they don't show.
In the case of one program, the image shows in Designer, but doesn't
show whether running from Creator or as a stand-alone executable. In the
case of the other, it shows when running in Creator, but not as a
stand-alone app.
I am inserting the images in QLabel objects and doing it as a "Choose
File", not "Choose Resource".
I could understand that maybe I needed to copy images to the directory
the executable is in for the instance where it works in the debugger and
not when the program's copied to a different machine, but not when it
doesn't even run in the debugger!
Many thanks for any help.
More information about the Qt-interest-old
mailing list