当前位置:网站首页>Unable to open the source file in qt vs2015 "QtWidgets" solution
Unable to open the source file in qt vs2015 "QtWidgets" solution
2022-07-29 15:41:00 【Debt repayment big wet brother】
In theory there are two steps,1.QT VS TOOL To set the version correctly

Note that the location where the version is added is a short path

如上所示,到F:\Qt\Qt5.8.0_32,就行,不需要到F:\Qt\Qt5.8.0_32\bin目标
2.
加环境变量,Otherwise, it is impossible to use this directly as shown in the picture belowqtpath also works,It seems to be adding one laterAdditionalincludeDirectories
如下图所示,You can use environment variables
右键VS项目,属性->C/C++/常规,添加QT的include路径即可.(也可以在VC++set in the directory)
$(Qt_INCLUDEPATH);%(AdditionalIncludeDirectories);$(IncludePath)

边栏推荐
猜你喜欢
随机推荐
用Asm生成Class字节码文件
这个保护数据隐私的赛道,人人都想插一脚,互联网大厂挤破头,连甲方都下场自研了...
Linux installation of MySQL (super detailed)
机器学习的3大“疑难杂症”,因果学习是突破口 | 重庆大学刘礼
I/O Code Practice
网络知识大集合(最详细)与网络通信过程
Numpy
BGP联邦实验
MySQL Index Common Interview Questions (2022 Edition)
云原生Meetup·广州站举行,共话云原生时代的企业数字化转型
【 LeetCode 】 1. The sum of two Numbers
CNCF Keith Chan:分布式云时代,云原生社区的发展与趋势
文件管理:文件的逻辑结构
Altair SimSolid复杂装配体无网格快速结构仿真线上研讨会
广汽本田安全驾驶体验营,老司机的必修课
redis常见面试题(背诵篇)
文本处理之xml
Shell脚本编程-运算
Altair SimSolid complex assembly meshless rapid structure simulation online seminars
【LeetCode】217. 存在重复元素









