1

我的 qml 项目有一个自定义构建步骤 在此处输入图像描述

但是当我构建命令时永远不会返回

15:28:52: The process "C:\Qt\Tools\mingw730_64\bin\mingw32-make.exe" exited normally.
15:28:52: Starting: "C:\Windows\system32\cmd.exe" C:\Users\G Labdon Std\Documents\Creator\Testing\SingletonTest\MySingleton C:\Users\G Labdon Std\Documents\Creator\Testing\build-SingletonTest-Desktop_Qt_5_12_0_MinGW_64_bit-Debug\MySingleton /Y /I
Microsoft Windows [Version 10.0.17134.523]
(c) 2018 Microsoft Corporation. All rights reserved.

发生了什么事,我该如何解决?

4

1 回答 1

1

命令文本框中放置XCOPY而不是cmd.

让参数出现在参数文本框中(源、目标和其他选项)。

像下面的东西。

命令:XCOPY

参数: C:\Users\XXXXXX\test1 C:\Users\XXXXX\test2 /Y /I

于 2019-02-07T19:15:46.680 回答