Add d-pointer support when generating artifacts from xmi

Change-Id: Ie9049b3d68208422c0860dc63ea295feb830451c
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>