You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

timstoner

Beginner

  • "timstoner" started this thread

Posts: 2

Location: Bristol

Occupation: none

  • Send private message

1

Friday, December 10th 2004, 5:36pm

ui.rc XML files

Hello, apologies if this is a stupid question, but is there any special build thing I need to do when I change the XML file that defines my KDE app's gui?

I have been changing my XML file and rebuilding and nothing is happening. I tried make clean and re-doing configure and automake but the menu resources in my app dont change. rc_DATA is set to the right filename in the makefile. What am I not doing?

Thanks

Tim

timstoner

Beginner

  • "timstoner" started this thread

Posts: 2

Location: Bristol

Occupation: none

  • Send private message

2

Friday, December 10th 2004, 6:19pm

RE: ui.rc XML files

It turns out its using an rc file installed on the machine. It worked after I did make install.

Is there any way of getting it to use an rc file stored in the binary itself?

Thanks

Tim

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

3

Tuesday, December 14th 2004, 10:35am

RE: ui.rc XML files

Quoted

Originally posted by timstoner
It turns out its using an rc file installed on the machine. It worked after I did make install.

The XUI GUI file has to be in an application specific subdirectory in one of the paths listed in
kde-config --path data
The first occurcence is used.

Quoted


Is there any way of getting it to use an rc file stored in the binary itself?


What would that be good for?
The purpose of the XML GUI file is to have actions and there positions configurable.

Cheers,
_
Qt/KDE Developer
Debian User