forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -2,6 +2,7 @@ import qbs
|
|||||||
|
|
||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "ClangFormat"
|
name: "ClangFormat"
|
||||||
|
targetName: "ClangFormatPlugin"
|
||||||
|
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
|
Reference in New Issue
Block a user