aboutsummaryrefslogtreecommitdiffstats
path: root/dist/installer
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2013-11-11 13:57:41 +0100
committerKai Koehne <kai.koehne@digia.com>2013-11-11 14:46:07 +0100
commit7e869bfa7fa2483736d2f80454fb08b3e6e07161 (patch)
tree9abe28cfc084797f25fbdfd21b1f17c8581a5605 /dist/installer
parentf18bc27a39107db93afa50e6de24e364e4bdcce2 (diff)
Installer: Fix shortcuts on Windows
Qt 5.2 changed behavior in that the '' characters won't be automatically stripped away for QCoreApplication::arguments(). Use "" instead, which is the windows default anyway. Task-number: QTCREATORBUG-10686 Change-Id: I21929feaf14845d4e8b1a67cff4560c199790295 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'dist/installer')
-rw-r--r--dist/installer/ifw/packages/org.qtproject.qtcreator.application/meta/installscript.qs18
1 files changed, 9 insertions, 9 deletions
diff --git a/dist/installer/ifw/packages/org.qtproject.qtcreator.application/meta/installscript.qs b/dist/installer/ifw/packages/org.qtproject.qtcreator.application/meta/installscript.qs
index 264ed48453..c816e33874 100644
--- a/dist/installer/ifw/packages/org.qtproject.qtcreator.application/meta/installscript.qs
+++ b/dist/installer/ifw/packages/org.qtproject.qtcreator.application/meta/installscript.qs
@@ -73,7 +73,7 @@ registerCommonWindowsFileTypeExtensions = function()
for (var i = 0; i < headerExtensions.length; ++i) {
component.addOperation( "RegisterFileType",
headerExtensions[i],
- component.qtCreatorBinaryPath + " -client '%1'",
+ component.qtCreatorBinaryPath + " -client \"%1\"",
"C++ Header file",
"text/plain",
component.qtCreatorBinaryPath + ",3",
@@ -85,7 +85,7 @@ registerCommonWindowsFileTypeExtensions = function()
for (var i = 0; i < cppExtensions.length; ++i) {
component.addOperation( "RegisterFileType",
cppExtensions[i],
- component.qtCreatorBinaryPath + " -client '%1'",
+ component.qtCreatorBinaryPath + " -client \"%1\"",
"C++ Source file",
"text/plain",
component.qtCreatorBinaryPath + ",2",
@@ -94,7 +94,7 @@ registerCommonWindowsFileTypeExtensions = function()
component.addOperation( "RegisterFileType",
"c",
- component.qtCreatorBinaryPath + " -client '%1'",
+ component.qtCreatorBinaryPath + " -client \"%1\"",
"C Source file",
"text/plain",
component.qtCreatorBinaryPath + ",1",
@@ -105,42 +105,42 @@ registerWindowsFileTypeExtensions = function()
{
component.addOperation( "RegisterFileType",
"ui",
- component.qtCreatorBinaryPath + " -client '%1'",
+ component.qtCreatorBinaryPath + " -client \"%1\"",
"Qt UI file",
"text/plain",
component.qtCreatorBinaryPath + ",4",
"ProgId=QtProject.QtCreator.ui");
component.addOperation( "RegisterFileType",
"pro",
- component.qtCreatorBinaryPath + " -client '%1'",
+ component.qtCreatorBinaryPath + " -client \"%1\"",
"Qt Project file",
"text/plain",
component.qtCreatorBinaryPath + ",5",
"ProgId=QtProject.QtCreator.pro");
component.addOperation( "RegisterFileType",
"pri",
- component.qtCreatorBinaryPath + " -client '%1'",
+ component.qtCreatorBinaryPath + " -client \"%1\"",
"Qt Project Include file",
"text/plain",
component.qtCreatorBinaryPath + ",6",
"ProgId=QtProject.QtCreator.pri");
component.addOperation( "RegisterFileType",
"qbs",
- component.qtCreatorBinaryPath + " -client '%1'",
+ component.qtCreatorBinaryPath + " -client \"%1\"",
"Qbs Project file",
"text/plain",
component.qtCreatorBinaryPath + ",5",
"ProgId=QtProject.QtCreator.qbs");
component.addOperation( "RegisterFileType",
"qs",
- component.qtCreatorBinaryPath + " -client '%1'",
+ component.qtCreatorBinaryPath + " -client \"%1\"",
"Qt Script file",
"text/plain",
component.qtCreatorBinaryPath + ",0",
"ProgId=QtProject.QtCreator.qs");
component.addOperation( "RegisterFileType",
"qml",
- component.qtCreatorBinaryPath + " -client '%1'",
+ component.qtCreatorBinaryPath + " -client \"%1\"",
"Qt Quick Markup language file",
"text/plain",
component.qtCreatorBinaryPath + ",7",