forked from qt-creator/qt-creator
QmakeProject: Some header cleanup
Change-Id: I728e02f7c9e57186013e1696b4c1939186bfd578 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -1514,6 +1514,15 @@ void QmakeProject::collectApplicationData(const QmakeProFileNode *node, Deployme
|
||||
DeployableFile::TypeExecutable);
|
||||
}
|
||||
|
||||
static QString destDirFor(const TargetInformation &ti)
|
||||
{
|
||||
if (ti.destDir.isEmpty())
|
||||
return ti.buildDir;
|
||||
if (QDir::isRelativePath(ti.destDir))
|
||||
return QDir::cleanPath(ti.buildDir + QLatin1Char('/') + ti.destDir);
|
||||
return ti.destDir;
|
||||
}
|
||||
|
||||
void QmakeProject::collectLibraryData(const QmakeProFileNode *node, DeploymentData &deploymentData)
|
||||
{
|
||||
const QString targetPath = node->installsList().targetPath;
|
||||
@@ -1599,15 +1608,6 @@ void QmakeProject::collectLibraryData(const QmakeProFileNode *node, DeploymentDa
|
||||
}
|
||||
}
|
||||
|
||||
QString QmakeProject::destDirFor(const TargetInformation &ti)
|
||||
{
|
||||
if (ti.destDir.isEmpty())
|
||||
return ti.buildDir;
|
||||
if (QDir::isRelativePath(ti.destDir))
|
||||
return QDir::cleanPath(ti.buildDir + QLatin1Char('/') + ti.destDir);
|
||||
return ti.destDir;
|
||||
}
|
||||
|
||||
QString QmakeProject::executableFor(const QmakeProFileNode *node)
|
||||
{
|
||||
const ProjectExplorer::Kit * const kit = activeTarget()->kit();
|
||||
|
||||
Reference in New Issue
Block a user