diff --git a/cmd/genbindings/emitcabi.go b/cmd/genbindings/emitcabi.go index 99ef00a7..d6c35bdf 100644 --- a/cmd/genbindings/emitcabi.go +++ b/cmd/genbindings/emitcabi.go @@ -35,6 +35,8 @@ func (p CppParameter) RenderTypeCpp() string { ret = "_Float16" // No idea where this typedef comes from, but it exists case "qsizetype": ret = "size_t" + case "qintptr": + ret = "uintptr_t" case "QRgb": ret = "unsigned int" }