From 95d8734e5f7b6b7c7d2c34b298de11572d995dd4 Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Wed, 10 Mar 2021 09:06:58 +0100 Subject: [PATCH] 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 --- src/tools/sdktool/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/sdktool/main.cpp b/src/tools/sdktool/main.cpp index 0a07b1157cf..1997604270d 100644 --- a/src/tools/sdktool/main.cpp +++ b/src/tools/sdktool/main.cpp @@ -73,6 +73,7 @@ const QString tabular(const std::unique_ptr &o) void printHelp(const std::vector> &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)) << " " << std::endl << std::endl; std::cout << "ARGS:" << std::endl;