You are not logged in.

!nkubus

Beginner

  • "!nkubus" started this thread

Posts: 17

Location: Montreal

Occupation: Internet Solution Manager @ Bell

  • Send private message

1

Thursday, September 16th 2004, 1:36pm

Some Questions About software developement

i Just discovered QT and KDE developpement a couple a months a go , and i have to say th'at fantastic how it's easy :).

however there is some things that i don't quite understand.

i have some pasive popup in my code and they are showing very well when i'm compiling with kdevelop but when i do my ./configure make and make install all the icons in the systray and on the popup are gone and of course ithere is no place where those icons are installed.

so i want to know how should i resolve, where i need to put my icons and what i have to do for my icons to be copied with the install of my application.

my other concern is what i need to change to my app th install in /usr/bin not in /usr/share/kde/bin or something like this...


sorry for my english i'm french from Montreal


Thanks for you help :)

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Thursday, September 16th 2004, 8:37pm

If your icons don't show up, KDE might not be able to find them.
If you did ./configure wiithout --prefix parameter, it will install into a standard directory, usually /usr/local or /usr/local/kde
This is actually quite good, it keeps manually compiled apps and apps installed by the package manager from conflicting.

Yuu can add any number of such additional directories using the KDEDIRS environment variable: http://kde.ground.cz/tiki-index.php?page…nment+Variables

For example something like this
KDEDIRS=/usr:/usr/local

While I strongly advise against installing to /usr, you can do so by using the --prefix parameter of configure
./configure --prefix=/usr

Cheers,
_
Qt/KDE Developer
Debian User

!nkubus

Beginner

  • "!nkubus" started this thread

Posts: 17

Location: Montreal

Occupation: Internet Solution Manager @ Bell

  • Send private message

3

Thursday, September 16th 2004, 11:25pm

Thanks for your help :)

This post has been edited 2 times, last edit by "!nkubus" (Sep 16th 2004, 11:27pm)


!nkubus

Beginner

  • "!nkubus" started this thread

Posts: 17

Location: Montreal

Occupation: Internet Solution Manager @ Bell

  • Send private message

4

Friday, September 17th 2004, 11:08am

ok i see, but where i set thoses environment in my app? in my shell? because if give the source to someone will they see the icons?.


i know this is probably a basic thing :S but i'm new to kde developemment and i wan't to start in the right direction.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

5

Friday, September 17th 2004, 1:48pm

Quoted

Originally posted by !nkubus
ok i see, but where i set thoses environment in my app?


There are many places where this variables can be set.
for example/etc/profile or within the startkde script,


Quoted

because if give the source to someone will they see the icons?.

Its up to the person installing the software to decide where to put it, so he/she has to take care of the correct setting of variables as well, for example extending PATH to point to the directory where the binary resides.

Or decide to install into the same prefix the package manager uses, even when this is highly unrecommended and might break upgrading and/or removinng of package manager packages.

Cheers,
_
Qt/KDE Developer
Debian User