summaryrefslogtreecommitdiff
path: root/src/plugins/qmakeprojectmanager/qmakeproject.h
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@digia.com>2014-10-20 17:23:07 +0200
committerDaniel Teske <daniel.teske@digia.com>2014-10-24 13:24:58 +0200
commitb9a7cfcaa1f058c6d6b123c6d9abaa9da92d9f5a (patch)
treee013843a9b79335772d0b5a1a856ae14c6d12fc4 /src/plugins/qmakeprojectmanager/qmakeproject.h
parent880b7625ec763ce291351b04f2fb8ce322d1fab0 (diff)
downloadqt-creator-b9a7cfcaa1f058c6d6b123c6d9abaa9da92d9f5a.tar.gz
Detect qt sub projects and special case their build directory
Check every project's path against the source paths of all existing qts. If we find a match, make it build in the right place by default. Works for both in source and shadow builds. Note: There's a quadratic algorithm since foreach kit we check against all qt versions. That's unlikely to be a problem and non trivial to fix. Change-Id: I9f3456f3e835ee6adc35c26fe5c328c01387a8aa Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmakeprojectmanager/qmakeproject.h')
-rw-r--r--src/plugins/qmakeprojectmanager/qmakeproject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmakeprojectmanager/qmakeproject.h b/src/plugins/qmakeprojectmanager/qmakeproject.h
index 2e0892a1aa..92457e383d 100644
--- a/src/plugins/qmakeprojectmanager/qmakeproject.h
+++ b/src/plugins/qmakeprojectmanager/qmakeproject.h
@@ -177,6 +177,7 @@ private:
ProjectExplorer::DeploymentData &deploymentData);
void collectLibraryData(const QmakeProFileNode *node,
ProjectExplorer::DeploymentData &deploymentData);
+ bool matchesKit(const ProjectExplorer::Kit *kit);
QmakeManager *m_manager;
QmakeProFileNode *m_rootProjectNode;