diff options
author | Dominik Holland <dominik.holland@qt.io> | 2020-04-03 09:57:57 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@qt.io> | 2020-04-15 07:53:39 +0000 |
commit | 6ed811ace1fbe841de6e37a9b0929f096a3a4fa7 (patch) | |
tree | 71d85295f512f3dc7d6c6b5982b0de2616605085 /src | |
parent | c1eb0c8c62409a10ad1893a406aba07451b473e2 (diff) | |
download | qtivi-6ed811ace1fbe841de6e37a9b0929f096a3a4fa7.tar.gz |
ivigenerator: Set the export define when building the frontend
The users needed to do this themself before, but there is no good reason
why this can't be done by the autogenerator directly.
Change-Id: Ie0004e295ba2ac4bdd2c03b83346580055487a8d
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/ivigenerator/templates/frontend/module.pri.tpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/ivigenerator/templates/frontend/module.pri.tpl b/src/tools/ivigenerator/templates/frontend/module.pri.tpl index acd167f..beb9da8 100644 --- a/src/tools/ivigenerator/templates/frontend/module.pri.tpl +++ b/src/tools/ivigenerator/templates/frontend/module.pri.tpl @@ -42,6 +42,9 @@ ## Do not edit! All changes made to it will be lost. ############################################################################# +# Export all symbols when building this library +DEFINES *= QT_BUILD_{{module|upper|replace('.', '_')|strip_QT}}_LIB + HEADERS += \ {% for interface in module.interfaces %} $$PWD/{{interface|lower}}.h \ |