[Qt-interest] QUiLoader and images
Frank Hemer
frank at hemer.org
Tue Sep 29 20:59:36 CEST 2009
On Tuesday 29 September 2009 20:50:19 marcelo_miacca wrote:
> Hi
>
> I'm using QUiLoader to load a widget with a QLabel, in the Qt Designer the
> property pixmap of the QLabel is set to a file. I can see the pixmap in Qt
> Designer, but not in the running software.
>
> Any help? tks in advance
You need to either ensure that the file is accessible from the running
application - at the path you have specified in the designer, or even better
use the resource system in designer and add the file as a resource.
Frank
More information about the Qt-interest-old
mailing list