aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/corelib/api')
-rw-r--r--src/lib/corelib/api/project.cpp4
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);