---
name: "dh_grantlee"
section: "1"
platform: "linux"
package: "libgrantlee5-dev"
version: "5.3.1-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dh_grantlee"
---

# dh\_grantlee(1)

generate proper dependencies for grantlee plugins

## NAME

dh\_grantlee - generate proper dependencies for grantlee plugins

## SYNOPSIS

**dh\_qmlcdeps** \[*debhelper options*\]

## DESCRIPTION

**dh\_grantlee** is a debhelper program that looks for *\*.so* files of grantlee plugins, installed in */usr/lib/$DEB\_HOST\_MULTIARCH/grantlee* or */usr/lib/$DEB\_HOST\_MULTIARCH/qt5/plugins/grantlee*, under a subdirectory named `"MAJOR.MINOR"` (e.g. `5.2`): in case any is found, a proper dependency `"grantlee5-templates-MAJOR-MINOR"` dependency is added to the **${grantlee:Depends}** substitution variable.

This is needed because Grantlee loads plugins for templates only in subdirectories named after its `"MAJOR.MINOR"` version.

You can pass **--with grantlee** to [**dh**(1)](/dh/1.md) to make it automatically call **dh\_grantlee** after **dh\_install**, or add the `"dh-sequence-grantlee"` build dependency.

## SEE ALSO

[**debhelper**(7)](/debhelper/7.md)

## AUTHOR

Pino Toscano \<pino@debian.org\>
