See our github site for access to Sigil source code:
https://github.com/Sigil-Ebook/Sigil
Detailed instructions are provided on that site to build Sigil from source on Linux, MacOSX, and Windows using standard development tools. Sigil is primarily written in C++ and uses the Qt toolkit. It also has parts written in C, and Python 3.