forked from qt-creator/qt-creator
QmlJs: initialize qmlDumpEnvironment
Task-number: QTCREATORBUG-18335 Change-Id: I4f70da8062fde5aadef978f73351d8938d2267eb Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -77,6 +77,7 @@ ModelManagerInterface::ProjectInfo ModelManager::defaultProjectInfoForProject(
|
|||||||
Project *project) const
|
Project *project) const
|
||||||
{
|
{
|
||||||
ModelManagerInterface::ProjectInfo projectInfo(project);
|
ModelManagerInterface::ProjectInfo projectInfo(project);
|
||||||
|
projectInfo.qmlDumpEnvironment = Utils::Environment::systemEnvironment();
|
||||||
Target *activeTarget = nullptr;
|
Target *activeTarget = nullptr;
|
||||||
if (project) {
|
if (project) {
|
||||||
const QSet<QString> qmlTypeNames = { Constants::QML_MIMETYPE ,Constants::QBS_MIMETYPE,
|
const QSet<QString> qmlTypeNames = { Constants::QML_MIMETYPE ,Constants::QBS_MIMETYPE,
|
||||||
|
|||||||
Reference in New Issue
Block a user