Grantlee has been out in the wild for quite some years now. Development stagnated for a while as I was concentrating on other things, but I’m updating it now to prepare for a new release.
I’m giving a talk about it in just over a week (the first since 2009), and I’m wondering how people are using it these days. The last time I really investigated this was 6 years ago.
I’m really interested in knowing about other users of Grantlee and other use-cases where it fits. Here are some of the places I’m already aware of Grantlee in use:
Many areas of KDE PIM use Grantlee for rendering content such as addressbook entries and rss feeds along with some gui editors for creating a new look. The qgitx tool also uses it for rendering commits in the view with a simple template.
It is also used in the Cutelyst web framework for generating html, templated emails and any other use-cases users of that framework have.
There is also rather advanced Grantlee integration available in KDevelop for new class generation, using the same principles I blogged about some years ago.
It is also used by the subsurface application for creating dive summaries and reports. Skrooge also uses it for report generation.
It is used in Oyranos buildsystem, seemingly to generate some of the code compiled into the application.
Also on the subject of generating things, it seems to be used in TexturePacker, a tool for game developers to create efficient assets for their games. Grantlee enables one of the core selling points of that software, enabling it to work with any game engine.
Others have contacted me about using Grantlee to generate documentation, or to generate unit tests to feed to another DSL. That’s not too far from how kitemmodels uses it to generate test cases for proxy model crashes.
Do you know of any other users or use-cases for Grantlee? Let us know in the comments!
April 12, 2016 at 12:06 pm |
I am Andreas, developer of TexturePacker. You are right – we are using Grantlee for quite some time now.
I really like Grantlee and how easy it was to use it.
It seemed that your project was dead but I am happy to see that you are still updating it.
What are your plans concerning Qt Script beeing deprecated?
April 12, 2016 at 7:54 pm |
My understanding is that you can continue to build QtScript from source and use that. QJsEngine misses some things which I think would be required by Grantlee as a replacement js engine (http://thread.gmane.org/gmane.comp.lib.qt.devel/19364 , http://thread.gmane.org/gmane.comp.lib.qt.devel/24980), but actually I haven’t looked into it. If you want to fill the gap, you could probably raise it on the Qt mailing list.
April 12, 2016 at 8:15 pm |
> Development stagnated for a while as I was concentrating on other things,
Ah, that explains why pull requests on (the now defunct) gitorious were basically ignored and stagnated there without a single reply.
Anyway, khelpcenter since Applications 16.04 uses grantlee for the overview page, for showing the glossary entries, and the search results.
April 12, 2016 at 8:25 pm |
> Ah, that explains why pull requests on (the now defunct) gitorious were basically ignored and stagnated there without a single reply.
Sorry about that.
Thanks, I’ll look into what khelpcenter is doing with it.
April 18, 2016 at 1:35 pm |
[…] How do you use Grantlee? […]