@echo on

For /f "tokens=*" %%i in ('dir /a-d /b /s "*.exe"') do (
D:\RuanJian\Qt\Qt5.14.2\5.14.2\msvc2017_64\bin\windeployqt.exe "%%i" --debug
)
Pause

PS:

1.上面的QT目录,需要改为你本地电脑中的目录。

2.如果是release版本的,需要把最后的“debug”改为“Release”。

 

相关文章:

  • 2021-11-05
  • 2021-12-11
  • 2021-06-18
  • 2021-07-12
  • 2021-07-20
  • 2021-11-19
  • 2022-12-23
  • 2022-01-23
猜你喜欢
  • 2021-10-28
  • 2021-06-29
  • 2021-09-25
  • 2021-09-02
  • 2021-11-10
  • 2021-10-12
  • 2022-01-09
相关资源
相似解决方案