且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

QTCreator 使用 INSTALLS 将文件复制到输出目录

更新时间:2022-03-01 01:10:20

您需要的是自定义构建步骤.

What you need is a custom build step.

  1. 切换到项目模式:按 Ctrl+5.
  2. 构建步骤下的构建设置标签上,点击添加构建步骤.
  3. 从菜单中选择制作.
  4. 安装写入制作参数:文本输入框.
  1. Switch to Projects Mode: press Ctrl+5.
  2. On Build Settings tab under Build Steps click on Add Build Step.
  3. Choose Make from the menu.
  4. Write install into Make arguments: text input box.

(我检查这些的版本是 Qt Creator 2.4.1.)

(The version where I checked these is Qt Creator 2.4.1.)