Revert "qmlpuppet: do not set an empty QT_MULTILANGUAGE_DATABASE"

This reverts commit 00b54f7faf.

Not sure why this was necessary - but it introduced a problem
which needs a restart of the puppet - so it is easier to revert it.

Change-Id: I4664b57eefc961ac814e4594b28bbd155be21042
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
Tim Jenssen
2020-07-20 20:01:16 +02:00
parent 69b0a42ac1
commit 6e6b2aa855

View File

@@ -514,7 +514,7 @@ QProcessEnvironment PuppetCreator::processEnvironment() const
if (auto *rc = m_target->activeRunConfiguration()) { if (auto *rc = m_target->activeRunConfiguration()) {
if (auto multiLanguageAspect = rc->aspect<QmlProjectManager::QmlMultiLanguageAspect>()) { if (auto multiLanguageAspect = rc->aspect<QmlProjectManager::QmlMultiLanguageAspect>()) {
if (multiLanguageAspect->value() && !multiLanguageAspect->databaseFilePath().isEmpty()) if (!multiLanguageAspect->databaseFilePath().isEmpty())
environment.set("QT_MULTILANGUAGE_DATABASE", multiLanguageAspect->databaseFilePath().toString()); environment.set("QT_MULTILANGUAGE_DATABASE", multiLanguageAspect->databaseFilePath().toString());
} }
} }