[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Using the icons I added to my project as data
From: Andreas Silberstorff <ml () andreas-silberstorff ! de>
Date: 2005-05-29 22:14:23
Message-ID: 200505300014.32715.ml () andreas-silberstorff ! de
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Am Sonntag, 29. Mai 2005 19:42 schrieb Mauricio Bahamonde:
> Hi,
> I added to my project in KDevelop some icons as Data, but now I don't know
> how to use them.
> Do I need to use some KDE function to tell it to read my appdir or
> something? I tried with:
> Label->setPixmap( QPixmap("myicon.png") );
> but obviously didn't work, it isn't loading it from the correct dir, and
> using a relative path sounds illogical to me, there must be a kde function
> to do it.
>
> Thanks in advance.
> Greetings,
The icon has to be installed. It won't be read from the sourcedir.
[Attachment #5 (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic