aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>2019-09-09 18:31:03 -0300
committerLisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>2019-09-12 11:44:22 +0000
commit1ff337089a579cf698df0ddb6bf8a68ea9e5de2d (patch)
treebdb8b94480720294f39dd8c51a2b4e1f09368486 /src
parent6808c891fb9a088e89513e97bb3c0a93ef5f421c (diff)
ClangFormat: improve the message the users see
In this way it's made clear that the plugin requires a patched version of Clang. Task-number: QTCREATORBUG-22923 Change-Id: Ifefd5ab1a3dc82b85e553c5e1fedffb72919dd17 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/clangformat/clangformatplugin.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/clangformat/clangformatplugin.cpp b/src/plugins/clangformat/clangformatplugin.cpp
index 81f95ccba7..1f3ea8d475 100644
--- a/src/plugins/clangformat/clangformatplugin.cpp
+++ b/src/plugins/clangformat/clangformatplugin.cpp
@@ -155,8 +155,9 @@ bool ClangFormatPlugin::initialize(const QStringList &arguments, QString *errorS
}
return true;
#else
- *errorString = "Disabling ClangFormat plugin as it is not built against a suitable version of "
- "Clang's libFormat. For more information, see the Qt Creator README at "
+#warning ClangFormat: building dummy plugin due to unmodified Clang, see README.md for more info
+ *errorString = "Disabling ClangFormat plugin as it has not been built against a modified Clang's libFormat."
+ "For more information see the Qt Creator README at "
"https://code.qt.io/cgit/qt-creator/qt-creator.git/tree/README.md";
return false;
#endif