forked from qt-creator/qt-creator
Provide build system independent deployment data.
Attach an object containing deployment information to the target. The respective build system plugins are responsible for setting up this information. The Qt4ProjectManager already does that; others should follow (which is expected to result in gradual refinements of the design). The immediate motivation here is to free the RemoteLinux plugin from the requirement that qmake must be used for building the projects, which makes it much less generic than it could and should be. Change-Id: I9943787f4e352d014e721082016542b10c8cce90 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -1587,6 +1587,12 @@ QStringList Qt4ProFileNode::variableValue(const Qt4Variable var) const
|
||||
return m_varValues.value(var);
|
||||
}
|
||||
|
||||
QString Qt4ProFileNode::singleVariableValue(const Qt4Variable var) const
|
||||
{
|
||||
const QStringList &values = variableValue(var);
|
||||
return values.isEmpty() ? QString() : values.first();
|
||||
}
|
||||
|
||||
void Qt4ProFileNode::emitProFileUpdatedRecursive()
|
||||
{
|
||||
foreach (ProjectExplorer::NodesWatcher *watcher, watchers())
|
||||
@@ -2008,6 +2014,11 @@ void Qt4ProFileNode::applyEvaluate(EvalResult evalResult, bool async)
|
||||
newVarValues[QtVar] = m_readerExact->values(QLatin1String("QT"));
|
||||
newVarValues[ObjectExt] = m_readerExact->values(QLatin1String("QMAKE_EXT_OBJ"));
|
||||
newVarValues[ObjectsDir] = m_readerExact->values(QLatin1String("OBJECTS_DIR"));
|
||||
newVarValues[VersionVar] = m_readerExact->values(QLatin1String("VERSION"));
|
||||
newVarValues[TargetVersionExtVar]
|
||||
= m_readerExact->values(QLatin1String("TARGET_VERSION_EXT"));
|
||||
newVarValues[StaticLibExtensionVar] = m_readerExact->values("QMAKE_EXTENSION_STATICLIB");
|
||||
newVarValues[ShLibExtensionVar] = m_readerExact->values("QMAKE_EXTENSION_SHLIB");
|
||||
|
||||
m_isDeployable = false;
|
||||
if (m_projectType == ApplicationTemplate) {
|
||||
|
||||
Reference in New Issue
Block a user