Skip to content

Commit 0e15c68

Browse files
committed
Export 'base' and 'platform' to process environment
Change-Id: Icabdb392c295557b31832d8a0c684be8d591b3c6 Reviewed-by: Gatis Paeglis <[email protected]>
1 parent b6e6267 commit 0e15c68

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

process.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ void Process::startup(QStringList args)
117117
qDebug() << key << mConfig.env.value(key);
118118
pe.insert(key, mConfig.env.value(key));
119119
}
120+
if (!mConfig.base.isEmpty())
121+
pe.insert(QLatin1String("B2QT_BASE"), mConfig.base);
122+
if (!mConfig.platform.isEmpty())
123+
pe.insert(QLatin1String("B2QT_PLATFORM"), mConfig.platform);
120124

121125
args.append(mConfig.args);
122126

0 commit comments

Comments
 (0)