Introduction to grantlee

Grantlee is a set of free software libraries written using the Qt framework. Currently two libraries are shipped with Grantlee: Grantlee Templates and Grantlee TextDocument. The goal of Grantlee Templates is to make it easier for application developers to separate the structure of documents from the data they contain, opening the door for theming.



Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.

Package Information

Grantlee Dependencies


CMake-3.26.4 and Qt-5.15.9


Doxygen-1.9.7 (for documentation)

User Notes:

Installation of Grantlee

Install Grantlee by running the following commands:

mkdir build &&
cd    build &&

      -DCMAKE_BUILD_TYPE=Release  \
      .. &&

This package does not come with a test suite.

Now, as the root user:

make install


Installed Programs: none
Installed Libraries: and
Installed Directories: /usr/lib/cmake/Grantlee5, /usr/lib/grantlee/5.2, and /usr/include/grantlee

Short Descriptions

contains common documentation templates for separating documents from their structure

contains functions that allow separating the content of text documents from their structure.