How to install PNG for use in kicker applet?

Amilcar do Carmo Lucas amilcar at ida.ing.tu-bs.de
Fri Oct 8 13:36:13 BST 2004


On Friday 08 October 2004 10:57, Maurizio Colucci wrote:
> Hello,
>
> I am a kdevelop newbie. :)  As an addon to my program
> (http://onefinger.sf.net), I have written a simple kicker applet with
> kdevelop. As you can see in the screenshots on the site, the applet
> looks rather empty :). I would like to display a png on it. It is my
> understanding that I must use the automake manager to add a png to my
> project, so the png will be installed when I do "make install".
>
> My questions are:
>
> 1. In what section am I supposed to add the png? I have clicked the
> "src" dir in the upper panel, but now I have to choose between "header
> in noinst", "Data in onefingerapplet", "libonefingerapplet.la". I tried
> to choose data, and I discovered the png gets installed in the same
> directory as the .desktop files, which doesn't seem correct... so I am
> asking you.
>
> 2. In the C++ code, how do I retrieve the directory where the PNG is
> installed? (Because ultimately I must create a QPixmap, which requires
> the full path of the png). For example, is there some environment
> variable to check?

Have you tried the tutorials on the website ?

-- 
Amilcar Lucas
Current webmaster
The KDevelop project

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list