diff options
-rw-r--r-- | share/qbs/modules/cpp/msvc.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/modules/cpp/msvc.js b/share/qbs/modules/cpp/msvc.js index 413f378d9..fb5998995 100644 --- a/share/qbs/modules/cpp/msvc.js +++ b/share/qbs/modules/cpp/msvc.js @@ -163,7 +163,7 @@ function prepareCompiler(project, product, inputs, outputs, input, output) { copyCmd.tag = tag; copyCmd.silent = true; copyCmd.sourceCode = function() { - File.copy(input.filePath, outputs[tag + "_pch_copy"]); + File.copy(input.filePath, outputs[tag + "_pch_copy"][0].filePath); }; commands.push(copyCmd); } else { |