diff options
author | Maxim Zaitsev <maxim.m.zaitsev@gmail.com> | 2014-03-04 02:46:31 +0400 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2014-03-12 15:27:44 +0100 |
commit | 9c8997413fb7d744e1d1b62b5c926cb089eb0d52 (patch) | |
tree | 566370cd102144ed4cb3c0000cf2998cf3dd974c /src/lib/corelib/api | |
parent | 91d4e47fc8eb506b3a906d75a838a28b2c3a38e4 (diff) |
Add new qml item Scanner
This item allows to write custom dependency scanners in modules.
Change-Id: I6cb49969973ee29896d1909e7a16bf5da50f8aef
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/corelib/api')
-rw-r--r-- | src/lib/corelib/api/project.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/corelib/api/project.cpp b/src/lib/corelib/api/project.cpp index dd4d57a97..22f4f7b51 100644 --- a/src/lib/corelib/api/project.cpp +++ b/src/lib/corelib/api/project.cpp @@ -549,6 +549,10 @@ void ProjectPrivate::updateInternalCodeLocations(const ResolvedProjectPtr &proje } foreach (const ResolvedTransformerConstPtr &transformer, product->transformers) updateLocationIfNecessary(transformer->transform->location, changeLocation, lineOffset); + foreach (const ResolvedScannerConstPtr &scanner, product->scanners) { + updateLocationIfNecessary(scanner->searchPathsScript->location, changeLocation, lineOffset); + updateLocationIfNecessary(scanner->scanScript->location, changeLocation, lineOffset); + } foreach (const ResolvedModuleConstPtr &module, product->modules) { updateLocationIfNecessary(module->setupBuildEnvironmentScript->location, changeLocation, lineOffset); |