Mercurial > trustbridge
changeset 538:0290adbdc380
Use backslashes on Windows for filesdir
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 29 Apr 2014 18:00:55 +0000 |
parents | 522b4e28c073 |
children | 81d6657757f3 |
files | ui/createinstallerdialog.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ui/createinstallerdialog.cpp Tue Apr 29 17:52:19 2014 +0000 +++ b/ui/createinstallerdialog.cpp Tue Apr 29 18:00:55 2014 +0000 @@ -207,7 +207,7 @@ mNSISProc.setProcessChannelMode(QProcess::MergedChannels); mNSISProc.setWorkingDirectory(outDir.path()); #ifdef Q_OS_WIN - arguments << QString::fromLatin1("/Dfiles_dir=") + binDir.path() + "/windows"; + arguments << QString::fromLatin1("/Dfiles_dir=") + binDir.path().replace("/", "\\") + "\\windows"; foreach (const QString &key, keys) { arguments << QString::fromLatin1("/D%1=%2").arg(key, options.value(key, QString()).toString());