| 1 | -----------------------------------------------
|
|---|
| 2 | Kde application framework template quickstart
|
|---|
| 3 | Author: Thomas Nagy
|
|---|
| 4 | Date: 2003-06-20
|
|---|
| 5 | -----------------------------------------------
|
|---|
| 6 |
|
|---|
| 7 | This README file explains you how to use this application template.
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 | * To distribute your program, try "make dist".
|
|---|
| 11 | This will make a compact tarball archive of your release with the
|
|---|
| 12 | necessary scripts inside.
|
|---|
| 13 |
|
|---|
| 14 | * To clean everything try make distclean
|
|---|
| 15 |
|
|---|
| 16 | * To build the configure script try make -f Makefile.cvs
|
|---|
| 17 |
|
|---|
| 18 | * For the translations :
|
|---|
| 19 | 1. Download a patched gettext which can be found at:
|
|---|
| 20 | http://public.kde.planetmirror.com/pub/kde/devel/gettext-kde/
|
|---|
| 21 | 2. Install that gettext in ~/bin/
|
|---|
| 22 | 3. cd ~/yourproject, export PATH=~/bin:$PATH, export
|
|---|
| 23 | KDEDIR=/where_your_KDE3_is
|
|---|
| 24 | 4. make -f admin/Makefile.common package-messages
|
|---|
| 25 | 5. make package-messages
|
|---|
| 26 | 6. Translate the po files (not the pot!!) with kbabel or xemacs
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 | * Build the menus of your application easily
|
|---|
| 30 | kde applications now use an xml file (*ui.rc file) to build the menus.
|
|---|
| 31 | This allow a great customization of the application. However, when
|
|---|
| 32 | programming the menu is shown only after a "make install"
|
|---|
| 33 |
|
|---|
| 34 | For more details, consult :
|
|---|
| 35 | http://devel-home.kde.org/~larrosa/tutorial/p9.html
|
|---|
| 36 | http://developer.kde.org/documentation/tutorials/xmlui/preface.html
|
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 | * Modifying the auto-tools scripts
|
|---|
| 40 | for automake scripts there is an excellent tutorial there :
|
|---|
| 41 | http://developer.kde.org/documentation/other/makefile_am_howto.html
|
|---|
| 42 |
|
|---|
| 43 | * Simplify your life : install the project in your home directory for
|
|---|
| 44 | testing purposes.
|
|---|
| 45 | ./configure --prefix=/home/user/dummyfolder/
|
|---|
| 46 | In the end when you finished the development you can
|
|---|
| 47 | rm -rf /home/user/dummyfolder/
|
|---|
| 48 | without fear.
|
|---|