aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools/ivigenerator/templates_frontend/module.h.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/ivigenerator/templates_frontend/module.h.tpl')
-rw-r--r--src/tools/ivigenerator/templates_frontend/module.h.tpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/ivigenerator/templates_frontend/module.h.tpl b/src/tools/ivigenerator/templates_frontend/module.h.tpl
index 01f7f51..aa10866 100644
--- a/src/tools/ivigenerator/templates_frontend/module.h.tpl
+++ b/src/tools/ivigenerator/templates_frontend/module.h.tpl
@@ -45,7 +45,11 @@
#ifndef {{oncedefine}}
#define {{oncedefine}}
+{% if module.tags.config.module %}
+#include <{{module.tags.config.module}}/{{module.module_name|lower}}global.h>
+{% else %}
#include "{{module.module_name|lower}}global.h"
+{% endif %}
#include <QObject>
QT_BEGIN_NAMESPACE