From 9c8997413fb7d744e1d1b62b5c926cb089eb0d52 Mon Sep 17 00:00:00 2001 From: Maxim Zaitsev Date: Tue, 4 Mar 2014 02:46:31 +0400 Subject: Add new qml item Scanner This item allows to write custom dependency scanners in modules. Change-Id: I6cb49969973ee29896d1909e7a16bf5da50f8aef Reviewed-by: Joerg Bornemann --- src/lib/corelib/api/project.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/lib/corelib/api') 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); -- cgit v1.2.3