summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_module_pris.prf
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-10-27 16:50:51 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-11-02 16:44:10 +0100
commit517c88523907bc8e7d007f64bf96e6447dfc4303 (patch)
tree8849af1df459c308e645ef3f41c87f3bf1feec21 /mkspecs/features/qt_module_pris.prf
parentba7ef28ea90b9eb490ebe4e10983105c5b66ce7f (diff)
Allow adding extra content to module pri
On the qmake-side we had exports, but they were quoted. Change-Id: I95af4b927079691cab6403fec850f345ba181a00 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'mkspecs/features/qt_module_pris.prf')
-rw-r--r--mkspecs/features/qt_module_pris.prf3
1 files changed, 2 insertions, 1 deletions
diff --git a/mkspecs/features/qt_module_pris.prf b/mkspecs/features/qt_module_pris.prf
index a8cc9835a5..9b632a864f 100644
--- a/mkspecs/features/qt_module_pris.prf
+++ b/mkspecs/features/qt_module_pris.prf
@@ -153,7 +153,8 @@ defineReplace(qtExportLibsForModule) {
$$qtGetExportsForModule($$MODULE_ID) \
"QT_CONFIG +=$$join(QT.$${MODULE_ID}.QT_CONFIG, " ", " ")" \
"" \
- "QT_MODULES += $$MODULE"
+ "QT_MODULES += $$MODULE" \
+ "$$MODULE_PRI_EXTRA_CONTENT"
write_file($$MODULE_PRI, MODULE_PRI_CONT)|error()
!internal_module:!no_private_module {
module_build_type += internal_module