summaryrefslogtreecommitdiffstats
path: root/installerbuilder/libinstaller/macrelocateqt.cpp
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@nokia.com>2011-06-21 16:24:40 +0200
committerTim Jenssen <tim.jenssen@nokia.com>2011-06-21 16:24:40 +0200
commit20c6c4bcfd61ae0f370beec2d55b2f506c0fe88a (patch)
tree103ff8b66831354ca516c36368bac6a506b537c9 /installerbuilder/libinstaller/macrelocateqt.cpp
parent8a4f4a19399f358ba1b9651df33f50501d848af5 (diff)
setArguments takes a stringlist
Diffstat (limited to 'installerbuilder/libinstaller/macrelocateqt.cpp')
-rw-r--r--installerbuilder/libinstaller/macrelocateqt.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/installerbuilder/libinstaller/macrelocateqt.cpp b/installerbuilder/libinstaller/macrelocateqt.cpp
index a62a283a9..674d78490 100644
--- a/installerbuilder/libinstaller/macrelocateqt.cpp
+++ b/installerbuilder/libinstaller/macrelocateqt.cpp
@@ -76,13 +76,15 @@ bool Relocator::apply(const QString &qtInstallDir, const QString &targetDir)
MacReplaceInstallNamesOperation operation;
- operation.setArguments( indicator,
- replacement,
- qtInstallDir + QLatin1String("/plugins"),
- qtInstallDir + QLatin1String("/lib"),
- qtInstallDir + QLatin1String("/imports"),
- qtInstallDir + QLatin1String("/bin"));
+ QStringList arguments;
+ arguments << indicator
+ << replacement
+ << qtInstallDir + QLatin1String("/plugins")
+ << qtInstallDir + QLatin1String("/lib")
+ << qtInstallDir + QLatin1String("/imports")
+ << qtInstallDir + QLatin1String("/bin");
+ operation.setArguments(arguments);
operation.performOperation();
mErrorMessage = operation.errorString();