diff options
Diffstat (limited to 'src/tools/ivigenerator/templates_frontend/structmodel.h.tpl')
-rw-r--r-- | src/tools/ivigenerator/templates_frontend/structmodel.h.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/ivigenerator/templates_frontend/structmodel.h.tpl b/src/tools/ivigenerator/templates_frontend/structmodel.h.tpl index 24ca9a3..8d98add 100644 --- a/src/tools/ivigenerator/templates_frontend/structmodel.h.tpl +++ b/src/tools/ivigenerator/templates_frontend/structmodel.h.tpl @@ -39,7 +39,7 @@ #} {% set class = '{0}Model'.format(struct) %} {% set oncedefine = '{0}_{1}_H_'.format(module.module_name|upper, class|upper) %} -{% set exportsymbol = 'Q_{0}_EXPORT'.format(module.module_name|upper) %} +{% set exportsymbol = 'Q_{0}_EXPORT'.format(module|upper|replace('.', '_')) %} {% include 'generated_comment.cpp.tpl' %} #ifndef {{oncedefine}} |