summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/compileroptionsbuilder.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2018-11-28 18:45:18 +0100
committerhjk <hjk@qt.io>2018-12-04 08:53:34 +0000
commit18669c82152585f44c80408be97947554cd1509d (patch)
treeaebe2e14ce964951e5dd684aabe34c0836961d35 /src/plugins/cpptools/compileroptionsbuilder.cpp
parenta2306bfe78b8e21c697e159cd85b81f4df75eb1a (diff)
downloadqt-creator-18669c82152585f44c80408be97947554cd1509d.tar.gz
ProjectExplorer: Reduce qmake specific logic
- add a QString FileNode::buildKey(), returning the build key for a build represented by that node, if any. * for QmakeProFileNodes the build key is traditionally equal to the file name, so use that. * for QbsProductNode use the uniqueProductName() - add a Project::findNodeForBuildKey(QString buildKey) convenience function searching a Project(!)Node matching that build key. That's the only use case there is right now, and I see no reason yet to travers all files (yet). Change-Id: I388c0e06c03111e12d630899d762448e974a5737 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/cpptools/compileroptionsbuilder.cpp')
0 files changed, 0 insertions, 0 deletions