Commit 9a7ba8fd authored by Christian Kandeler's avatar Christian Kandeler
Browse files

RemoteLinux: Respect qmake scopes for subdirs deployment.

Task-number: QTCREATORBUG-6017

Change-Id: Ib7e3814c88ad4598e897a0c99103eafb61846eeb
Reviewed-on: http://codereview.qt.nokia.com/4365

Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent 5288267b
......@@ -122,13 +122,11 @@ void DeploymentInfo::createModels(const Qt4ProFileNode *proFileNode)
m_d->listModels << new DeployableFilesPerProFile(proFileNode, this);
break;
case SubDirsTemplate: {
const QList<ProjectExplorer::ProjectNode *> &subProjects
= proFileNode->subProjectNodes();
const QList<Qt4PriFileNode *> &subProjects = proFileNode->subProjectNodesExact();
foreach (const ProjectExplorer::ProjectNode * const subProject, subProjects) {
const Qt4ProFileNode * const qt4SubProject
= qobject_cast<const Qt4ProFileNode *>(subProject);
if (qt4SubProject && !qt4SubProject->path()
.endsWith(QLatin1String(".pri")))
if (qt4SubProject && !qt4SubProject->path().endsWith(QLatin1String(".pri")))
createModels(qt4SubProject);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment