forked from qt-creator/qt-creator
Qmake: Set up environment for initial project parsing
Set up a better environment for initial project parsing (before Kits are configured). Task-number: QTCREATORBUG-19241 Change-Id: I2431113dbbe6fb6a66f95fb1efb36834fa184f3d Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -665,6 +665,10 @@ QtSupport::ProFileReader *QmakeProject::createProFileReader(const QmakeProFile *
|
||||
else
|
||||
qmakeArgs = bc->configCommandLineArguments();
|
||||
}
|
||||
} else {
|
||||
// Set up a better default environment without using a build configuration:
|
||||
QmakeBuildConfiguration::setupBuildEnvironment(k, env);
|
||||
k->addToEnvironment(env);
|
||||
}
|
||||
|
||||
QtSupport::BaseQtVersion *qtVersion = QtSupport::QtKitInformation::qtVersion(k);
|
||||
|
||||
Reference in New Issue
Block a user