aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2020-07-09 11:03:20 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2020-07-09 09:31:30 +0000
commit31f427a3a6891fe4b7d59164d57e83e0c5e01167 (patch)
tree644fcc6a1537b9109a525c4294f1b26df6ff9973
parentddd9158b033cf44f0059e86826dc4d8090899228 (diff)
qbs build: Fix linking ClangFormat on Windows
Apparently, the MSVC linker gets confused if an input library ("clangFormat.lib") has the (almost) same file name as an output library ("ClangFormat.lib"), even though the latter is specified with an absolute path. Change-Id: Ia76e60fd10e16ce8daff880f4005d40d7f20d08c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
-rw-r--r--src/plugins/clangformat/clangformat.qbs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/clangformat/clangformat.qbs b/src/plugins/clangformat/clangformat.qbs
index 5726412f5ae..1f60d6eadf8 100644
--- a/src/plugins/clangformat/clangformat.qbs
+++ b/src/plugins/clangformat/clangformat.qbs
@@ -2,6 +2,7 @@ import qbs
QtcPlugin {
name: "ClangFormat"
+ targetName: "ClangFormatPlugin"
Depends { name: "Core" }
Depends { name: "TextEditor" }