diff --git a/doc/qtcreator/src/reference/creator-sdk-tool.qdoc b/doc/qtcreator/src/reference/creator-sdk-tool.qdoc index 547cc1b304d..35b407df1c2 100644 --- a/doc/qtcreator/src/reference/creator-sdk-tool.qdoc +++ b/doc/qtcreator/src/reference/creator-sdk-tool.qdoc @@ -284,6 +284,8 @@ \row \li \c {--language } \li ID of the input language of the toolchain: \c C or \c Cxx. + When you register a C or C++ compiler, make sure to register the + corresponding C++ or C compiler as well. \li \inlineimage ok.png \row \li \c {--name } diff --git a/src/tools/sdktool/addtoolchainoperation.cpp b/src/tools/sdktool/addtoolchainoperation.cpp index 74f4965cf87..70f1c5f262e 100644 --- a/src/tools/sdktool/addtoolchainoperation.cpp +++ b/src/tools/sdktool/addtoolchainoperation.cpp @@ -50,11 +50,14 @@ QString AddToolChainOperation::argumentsHelpText() const return QString( " --id id of the new tool chain (required).\n" " --language input language id of the new tool chain (required).\n" + " When you register a C or C++ compiler, make sure to" + " register the corresponding C++ or C compiler as well." " --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)