Changeset View
Changeset View
Standalone View
Standalone View
templates/ktexteditor-plugin/README.md
- This file was added.
1 | # Readme file | ||||
---|---|---|---|---|---|
2 | | ||||
3 | ## Introduction | ||||
4 | | ||||
5 | This is a simple Kate plugin right now. Make it do something :) | ||||
6 | | ||||
7 | | ||||
8 | ## Installation instructions | ||||
9 | | ||||
10 | Define some testing install dir: | ||||
11 | | ||||
12 | export MYKATEPLUGINPATH=$HOME/mykateplugins | ||||
13 | | ||||
14 | Build and install: | ||||
15 | | ||||
16 | mkdir build | ||||
17 | cd build | ||||
18 | cmake .. -DKDE_INSTALL_PLUGINDIR=$MYKATEPLUGINPATH | ||||
19 | make | ||||
20 | make install | ||||
21 | | ||||
22 | | ||||
23 | ## Check the plugin | ||||
24 | | ||||
25 | Start Kate on the commandline, with adapted QT_PLUGIN_PATH: | ||||
26 | | ||||
27 | export QT_PLUGIN_PATH=$MYKATEPLUGINPATH:$QT_PLUGIN_PATH | ||||
28 | kate --startanon | ||||
29 | | ||||
30 | Go to Settings / Configurate Kate / Application / Plugins | ||||
31 | Search and enable your plugin | ||||
32 | | ||||
33 | | ||||
34 | ## Help | ||||
35 | | ||||
36 | https://api.kde.org/frameworks/ktexteditor/html/classKTextEditor_1_1Plugin.html#plugin_intro | ||||
37 | | ||||
38 | For help or more information, contact the Kate team |