Fix keytool parameters.

Task-number: QTCREATORBUG-11417

Change-Id: If9de1dd40b6f43f020d6d5fef59519b0946b3888
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
BogDan Vatra
2014-04-03 11:02:48 +03:00
committed by Daniel Teske
parent eabf4628c9
commit 46d9b4ee36
2 changed files with 2 additions and 2 deletions

View File

@@ -527,7 +527,7 @@ QAbstractItemModel *AndroidDeployQtStep::keystoreCertificates()
if (!m_keystorePasswd.length()) if (!m_keystorePasswd.length())
return 0; return 0;
params << m_keystorePasswd; params << m_keystorePasswd;
params << QLatin1String("-J\"-Duser.language=en\""); params << QLatin1String("-J-Duser.language=en");
keytoolProc.start(AndroidConfigurations::currentConfig().keytoolPath().toString(), params); keytoolProc.start(AndroidConfigurations::currentConfig().keytoolPath().toString(), params);
if (!keytoolProc.waitForStarted() || !keytoolProc.waitForFinished()) { if (!keytoolProc.waitForStarted() || !keytoolProc.waitForFinished()) {
QMessageBox::critical(0, tr("Error"), QMessageBox::critical(0, tr("Error"),

View File

@@ -364,7 +364,7 @@ QAbstractItemModel *AndroidPackageCreationStep::keystoreCertificates()
if (!m_keystorePasswd.length()) if (!m_keystorePasswd.length())
return 0; return 0;
params << m_keystorePasswd; params << m_keystorePasswd;
params << QLatin1String("-J\"-Duser.language=en\""); params << QLatin1String("-J-Duser.language=en");
keytoolProc.start(AndroidConfigurations::currentConfig().keytoolPath().toString(), params); keytoolProc.start(AndroidConfigurations::currentConfig().keytoolPath().toString(), params);
if (!keytoolProc.waitForStarted() || !keytoolProc.waitForFinished()) { if (!keytoolProc.waitForStarted() || !keytoolProc.waitForFinished()) {
QMessageBox::critical(0, tr("Error"), QMessageBox::critical(0, tr("Error"),