diff ui/createinstallerdialog.cpp @ 539:81d6657757f3

Provide path_sep as a variable to make it possible to reuse filelist
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 29 Apr 2014 18:06:44 +0000
parents 0290adbdc380
children 1cddf87f8f83
line wrap: on
line diff
--- a/ui/createinstallerdialog.cpp	Tue Apr 29 18:00:55 2014 +0000
+++ b/ui/createinstallerdialog.cpp	Tue Apr 29 18:06:44 2014 +0000
@@ -208,6 +208,7 @@
     mNSISProc.setWorkingDirectory(outDir.path());
 #ifdef Q_OS_WIN
     arguments << QString::fromLatin1("/Dfiles_dir=") + binDir.path().replace("/", "\\") + "\\windows";
+    arguments << "/Dpath_sep=\\"
     foreach (const QString &key, keys) {
         arguments << QString::fromLatin1("/D%1=%2").arg(key,
                 options.value(key, QString()).toString());
@@ -218,6 +219,7 @@
         arguments << QString::fromLatin1("-D%1=%2").arg(key,
                 options.value(key, QString()).toString());
     }
+    arguments << "-Dpath_sep=/"
 #endif
 
     arguments << binDir.path() + "/trustbridge.nsi";

http://wald.intevation.org/projects/trustbridge/