summaryrefslogtreecommitdiff
path: root/libre/qtcreator/qtcreator-preload-plugins.patch
blob: 23b2dfa3fb534e261806bd3362f4e210a2aa7f94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp
index a580704243..7a8740a5cc 100644
--- a/src/plugins/clangtools/clangtidyclazyrunner.cpp
+++ b/src/plugins/clangtools/clangtidyclazyrunner.cpp
@@ -63,7 +63,7 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis
 
     const QString clazyChecks = diagnosticConfig.clazyChecks();
     if (!clazyChecks.isEmpty()) {
-        arguments << XclangArgs({"-add-plugin",
+        arguments << XclangArgs({"-load", "ClazyPlugin.so", "-add-plugin",
                                  "clazy",
                                  "-plugin-arg-clazy",
                                  diagnosticConfig.clazyChecks()});