步骤

工具->选项->构建和运行->概要->Default build directory->去掉第一个“.”。

Default build directory内的字符变为:

./%{JS: Util.asciify("build-%{CurrentProject:Name}-%{CurrentKit:FileSystemName}-%{CurrentBuild:Name}")}

解析

  • “../” 表示当前目录的父目录。

  • “./” 表示当前目录

效果

Qt Creator 更改默认构建目录到工程目录下

参考

百度经验:Qt Creator怎样更改默认构建目录
亲测百度经验中的方法只能更改目录,不能顺利编译。


:Qt Creator版本为4.3.1,Qt版本为5.9.1

相关文章:

  • 2021-06-07
  • 2021-10-02
  • 2022-12-23
  • 2021-07-13
  • 2021-12-17
  • 2021-08-31
  • 2021-10-21
猜你喜欢
  • 2021-08-27
  • 2022-12-23
  • 2021-05-08
  • 2022-12-23
  • 2022-12-23
  • 2021-05-07
  • 2021-12-08
相关资源
相似解决方案