如何在qt项目中永久添加额外的include目录[visual studio 2013]?

时间:2016-01-24 19:05:00

标签: visual-studio qt qt5

我在visual studio 2013上安装了Qt5.5.1(qt-opensource-windows-x86-msvc2013-5.5.1)和visual studio插件1.2.3 +一些程序

现在我能够在visual studio 2013中编写qt项目并进行编译。 如果我想摆脱引用问题并在我的项目中有智能感知:

enter image description here

每次我做一个新的qt项目我都应该这样做:

项目属性中的

(解决方案资源管理器)> c / c ++>其他包含目录>编辑 并添加此目录:C:\ Qt \ Qt5.5.1 \ 5.5 \ msvc2013 \ include \ QtANGLE

有没有办法永久地为所有项目做这件事?

1 个答案:

答案 0 :(得分:2)

您可以创建具有所需依赖项的基本项目,save it as a Project Template。 (不要忘记在导出之前构建调试和发布配置)

enter image description here

然后你可以在这里找到你的模板:

enter image description here

相关问题