diff --git a/src/tools/sdktool/addkitoperation.cpp b/src/tools/sdktool/addkitoperation.cpp index db74e4eef96..0f1b092b12d 100644 --- a/src/tools/sdktool/addkitoperation.cpp +++ b/src/tools/sdktool/addkitoperation.cpp @@ -74,17 +74,18 @@ AddKitOperation::AddKitOperation() QString AddKitOperation::name() const { - return "addKit"; + return QString("addKit"); } QString AddKitOperation::helpText() const { - return "add a Kit to Qt Creator"; + return QString("add a Kit to Qt Creator"); } QString AddKitOperation::argumentsHelpText() const { - return " --id id of the new kit (required).\n" + return QString( + " --id id of the new kit (required).\n" " --name display name of the new kit (required).\n" " --icon icon of the new kit.\n" " --debuggerid the id of the debugger to use.\n" @@ -98,7 +99,7 @@ QString AddKitOperation::argumentsHelpText() const " --qt Qt of the new kit.\n" " --mkspec mkspec of the new kit.\n" " --env add a custom environment setting. [may be repeated]\n" - " extra key value pairs\n"; + " extra key value pairs\n"); } bool AddKitOperation::setArguments(const QStringList &args) diff --git a/src/tools/sdktool/addtoolchainoperation.cpp b/src/tools/sdktool/addtoolchainoperation.cpp index 27f53ab598a..3999f7463e5 100644 --- a/src/tools/sdktool/addtoolchainoperation.cpp +++ b/src/tools/sdktool/addtoolchainoperation.cpp @@ -54,22 +54,23 @@ const char SUPPORTED_ABIS[] = "ProjectExplorer.GccToolChain.SupportedAbis"; QString AddToolChainOperation::name() const { - return "addTC"; + return QString("addTC"); } QString AddToolChainOperation::helpText() const { - return "add a tool chain to Qt Creator"; + return QString("add a tool chain to Qt Creator"); } QString AddToolChainOperation::argumentsHelpText() const { - return " --id id of the new tool chain (required).\n" + return QString( + " --id id of the new tool chain (required).\n" " --name display name of the new tool chain (required).\n" " --path path to the compiler (required).\n" " --abi ABI of the compiler (required).\n" " --supportedAbis , list of ABIs supported by the compiler.\n" - " extra key value pairs\n"; + " extra key value pairs\n"); } bool AddToolChainOperation::setArguments(const QStringList &args) diff --git a/src/tools/sdktool/rmtoolchainoperation.cpp b/src/tools/sdktool/rmtoolchainoperation.cpp index b8396650cdf..106bc27cb40 100644 --- a/src/tools/sdktool/rmtoolchainoperation.cpp +++ b/src/tools/sdktool/rmtoolchainoperation.cpp @@ -43,17 +43,17 @@ const char ID[] = "ProjectExplorer.ToolChain.Id"; QString RmToolChainOperation::name() const { - return "rmTC"; + return QString("rmTC"); } QString RmToolChainOperation::helpText() const { - return "remove a tool chain from Qt Creator"; + return QString("remove a tool chain from Qt Creator"); } QString RmToolChainOperation::argumentsHelpText() const { - return " --id The id of the tool chain to remove.\n"; + return QString(" --id The id of the tool chain to remove.\n"); } bool RmToolChainOperation::setArguments(const QStringList &args)