Create your first Fcitx addon

From Fcitx
Revision as of 22:54, 2 February 2016 by Weng Xuetian (talk | contribs) (Text replacement - "<translate1>" to "<translate>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Tool to use

IDE: kdevelop newer than 4.5.

Build system: CMake newer than 2.8.

Fcitx library and headers: newer than 4.2.7.

The reason why I choose kdevelop here is it supports cmake, and has great template system you can easily use.

Step by step

  • Create new project


  • Download fcitx template with KDevelop



  • Select fcitx as type, type your project name, as for project name, you'd better make first character in upper case, due to some kdevelop template limitation.


  • If you want to use this with your system, change the prefix to "/usr" (or any other custom prefix you're using)


  • Let's build it!


  • Should be successfully built (check cmake output at the bottom)


What to do next?

Read the comments to make sure you understand the project structure, and you may need some basic knowledge about cmake.

Read some other simple project to understand what can be done with Fcitx.

Some easy place to start with:

See also

CMake Tutorial