grantlee
« Back to VersTracker
Description:
Libraries for text templating with Qt
Type: Formula  |  Latest Version: 5.3.1@0  |  Tracked Since: Oct 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: qt templating c++ library django
Install: brew install grantlee
About:
Grantlee is a library suite implementing the Django template system in Qt. It allows developers to separate application logic from presentation by processing templates with dynamic data. Its main value is providing a robust, Qt-native templating engine for generating text, HTML, or XML output.
Key Features:
  • Django template language compatibility
  • Qt integration and type safety
  • Plugin-based text loading and rendering
  • Custom template tags and filters support
Use Cases:
  • Generating dynamic HTML reports in Qt applications
  • Creating configuration files from templates
  • Building email or SMS content from data models
Alternatives:
  • Qt QTemplate – Grantlee is more feature-complete and follows Django syntax, while QTemplate is more limited.
  • Jinja2 – Jinja2 is Python-based; Grantlee provides similar functionality for C++/Qt environments.
Version History
Detected Version Rev Change Commit
Oct 28, 2025 10:55pm 0 VERSION_BUMP 783402b3
Oct 9, 2025 12:46pm 0 VERSION_BUMP 1317d26b