Commit 46d9b4ee authored by BogDan Vatra's avatar BogDan Vatra Committed by Daniel Teske
Browse files

Fix keytool parameters.



Task-number: QTCREATORBUG-11417

Change-Id: If9de1dd40b6f43f020d6d5fef59519b0946b3888
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent eabf4628
...@@ -527,7 +527,7 @@ QAbstractItemModel *AndroidDeployQtStep::keystoreCertificates() ...@@ -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"),
......
...@@ -364,7 +364,7 @@ QAbstractItemModel *AndroidPackageCreationStep::keystoreCertificates() ...@@ -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"),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment