您需要的是自定义构建步骤.
What you need is a custom build step.
- 切换到项目模式:按 Ctrl+5.
- 在构建步骤下的构建设置标签上,点击添加构建步骤.
- 从菜单中选择制作.
- 将安装写入制作参数:文本输入框.
- Switch to Projects Mode: press Ctrl+5.
- On Build Settings tab under Build Steps click on Add Build Step.
- Choose Make from the menu.
- 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.)