aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ios
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2020-04-07 13:49:34 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2020-04-07 15:20:22 +0000
commit7745eacc7afae4acf3e07325ab01cf6e6821037c (patch)
tree2a125e0c7530d3ae252a740b42db4cd1d34f805a /src/plugins/ios
parentb22bb5a9a7aa22fe13e1282c5db851688ec4d83f (diff)
Output parsers: Generalize the search directory concept
All parsers can now have search directories, not just the GnuMakeParser. This allows us to get rid of the "task mangling", removing another instance where the order of parsers in the chain mattered. Task-number: QTCREATORBUG-22665 Change-Id: Id0d55522ae6800afd9f50ff36546224b0d8bb382 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/ios')
-rw-r--r--src/plugins/ios/iosbuildstep.cpp2
-rw-r--r--src/plugins/ios/iosdsymbuildstep.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/ios/iosbuildstep.cpp b/src/plugins/ios/iosbuildstep.cpp
index fbf500b099..6566134398 100644
--- a/src/plugins/ios/iosbuildstep.cpp
+++ b/src/plugins/ios/iosbuildstep.cpp
@@ -226,7 +226,7 @@ bool IosBuildStep::init()
IOutputParser *parser = target()->kit()->createOutputParser();
if (parser)
appendOutputParser(parser);
- outputParser()->setWorkingDirectory(pp->effectiveWorkingDirectory());
+ outputParser()->addSearchDir(pp->effectiveWorkingDirectory());
return AbstractProcessStep::init();
}
diff --git a/src/plugins/ios/iosdsymbuildstep.cpp b/src/plugins/ios/iosdsymbuildstep.cpp
index 0221624201..937811bcd3 100644
--- a/src/plugins/ios/iosdsymbuildstep.cpp
+++ b/src/plugins/ios/iosdsymbuildstep.cpp
@@ -82,7 +82,7 @@ bool IosDsymBuildStep::init()
setOutputParser(target()->kit()->createOutputParser());
if (outputParser())
- outputParser()->setWorkingDirectory(pp->effectiveWorkingDirectory());
+ outputParser()->addSearchDir(pp->effectiveWorkingDirectory());
return AbstractProcessStep::init();
}