forked from qt-creator/qt-creator
SdkTool: Print out "Based on Qt " << qVersion()
Since the SDK setup tool may be built against a different Qt version than the IDE is that incorporates the sdktool, it makes sense to print out what Qt version was used. Change-Id: Icd7ec25d261b8394c80b11aa317fd394b92f11b4 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -73,6 +73,7 @@ const QString tabular(const std::unique_ptr<Operation> &o)
|
||||
void printHelp(const std::vector<std::unique_ptr<Operation>> &operations)
|
||||
{
|
||||
std::cout << Core::Constants::IDE_DISPLAY_NAME << "SDK setup tool." << std::endl;
|
||||
std::cout << "Based on Qt " << qVersion() << std::endl;
|
||||
std::cout << " Usage: " << qPrintable(QCoreApplication::arguments().at(0))
|
||||
<< " <ARGS> <OPERATION> <OPERATION_ARGS>" << std::endl << std::endl;
|
||||
std::cout << "ARGS:" << std::endl;
|
||||
|
Reference in New Issue
Block a user