You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
2.0 KiB
66 lines
2.0 KiB
13 years ago
|
tdesdk-scripts for Debian
|
||
14 years ago
|
-------------------------
|
||
|
|
||
|
Debugger macros:
|
||
|
|
||
|
Some handy gdb macros (such as for printing QStrings from gdb)
|
||
13 years ago
|
have been placed in /usr/share/tdesdk-scripts/kde-devel-gdb.
|
||
14 years ago
|
|
||
|
To use them, add this line to your ~/.gdbinit :
|
||
|
|
||
13 years ago
|
source /usr/share/tdesdk-scripts/kde-devel-gdb
|
||
14 years ago
|
|
||
|
Editor helper files:
|
||
|
|
||
|
Both vim and emacs helper files are provided containing many functions
|
||
|
and keybindings for developing KDE/Qt/C++ applications.
|
||
|
|
||
|
To use the vim helper file, add this line to your ~/.vimrc :
|
||
|
|
||
13 years ago
|
source /usr/share/tdesdk-scripts/kde-devel-vim.vim
|
||
14 years ago
|
|
||
|
To use the emacs helper files, add these lines to your ~/.emacs (with
|
||
|
your real name and email address substituted as appropriate):
|
||
|
|
||
13 years ago
|
(add-to-list 'load-path "/usr/share/emacs/site-lisp/tdesdk-scripts")
|
||
14 years ago
|
(require 'kde-emacs)
|
||
|
|
||
|
(setq kde-full-name "Your Name")
|
||
|
(setq kde-email "Your Email")
|
||
|
|
||
13 years ago
|
See the file /usr/share/emacs/site-lisp/tdesdk-scripts/kde-emacs.el for
|
||
14 years ago
|
further information regarding emacs.
|
||
|
|
||
|
Shell completion controls:
|
||
|
|
||
13 years ago
|
Completion controls are provided in /usr/share/tdesdk-scripts/completions/
|
||
14 years ago
|
for a variety of shells.
|
||
|
|
||
|
To enable completion controls for zsh, you need to add the following
|
||
|
lines to your ~/.zshrc :
|
||
|
|
||
|
# Add the KDE completion controls to the zsh function path.
|
||
13 years ago
|
set -A fpath $fpath /usr/share/tdesdk-scripts/completions/zsh
|
||
14 years ago
|
|
||
|
# Initialise the zsh completion system.
|
||
|
autoload -U compinit
|
||
|
compinit
|
||
|
|
||
|
To enable completion controls for bash, you must source each of the bash
|
||
|
completion files from your ~/.bashrc . A sample ~/.bashrc line is:
|
||
|
|
||
13 years ago
|
. /usr/share/tdesdk-scripts/completions/bash/dcop
|
||
14 years ago
|
|
||
|
Valgrind error suppressions:
|
||
|
|
||
|
A valgrind suppression file is included for ignoring things we don't
|
||
|
care about when valgrinding KDE applications.
|
||
|
|
||
|
The suppression file is provided as /usr/lib/valgrind/kde.supp .
|
||
|
|
||
|
To use these suppressions, run valgrind with the option:
|
||
|
|
||
|
--suppressions=/usr/lib/valgrind/kde.supp
|
||
|
|
||
|
-- Ben Burton <bab@debian.org>, Fri, 15 Oct 2004 09:55:26 +1000
|