惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Privacy International News Feed
WordPress大学
WordPress大学
Security Latest
Security Latest
Cyberwarzone
Cyberwarzone
K
Kaspersky official blog
Cisco Talos Blog
Cisco Talos Blog
Microsoft Security Blog
Microsoft Security Blog
G
GRAHAM CLULEY
N
News | PayPal Newsroom
Apple Machine Learning Research
Apple Machine Learning Research
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog
美团技术团队
J
Java Code Geeks
I
Intezer
The Cloudflare Blog
SecWiki News
SecWiki News
S
Secure Thoughts
Microsoft Azure Blog
Microsoft Azure Blog
V2EX - 技术
V2EX - 技术
C
Cyber Attacks, Cyber Crime and Cyber Security
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Spread Privacy
Spread Privacy
D
DataBreaches.Net
S
Security Affairs
Help Net Security
Help Net Security
S
Securelist
F
Full Disclosure
C
Check Point Blog
F
Fortinet All Blogs
Know Your Adversary
Know Your Adversary
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Y
Y Combinator Blog
云风的 BLOG
云风的 BLOG
阮一峰的网络日志
阮一峰的网络日志
The Register - Security
The Register - Security
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
人人都是产品经理
人人都是产品经理
博客园_首页
G
Google Developers Blog
Google Online Security Blog
Google Online Security Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Help Net Security
酷 壳 – CoolShell
酷 壳 – CoolShell
I
InfoQ
Application and Cybersecurity Blog
Application and Cybersecurity Blog
H
Hacker News: Front Page
L
LINUX DO - 热门话题
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
L
LangChain Blog

博客园 - surfer

金山开源安全卫士全套代码编译指南 TabControl添加关闭按钮 string、wstring、cstring、 char、 tchar、int、dword转换方法 string,wstring,CString,TCHAR,char*之间常用转换 在VS 2008下成功编译Chrome 用于多媒体应用的无窗口ATL ActiveX控件 临界区,互斥量,信号量,事件的区别(线程同步) GuiToolKit的编译 在VC程序中调用exe文件或者批处理文件方法总结 可在U盘或光盘上运行的LINUX(自带强大软件包和开发工具) 用VC纯资源dll制作多语言界面程序 - surfer - 博客园 没有完美的外汇经纪商和交易平台 外汇交易时段 MB Trading 订单类型 外汇炒单速成法 外汇高手的顺势理论 外汇点值计算 外汇交易商排名 explorer无法随Windows 7启动原因
QT + VS2008安装配置
surfer · 2011-06-03 · via 博客园 - surfer

编辑器加载中...QT4.7.2 + VS2008安装配置 准备工作: 1.VS2008 2.qt-vs-addin-1.1.8.exe(其他版本也可) 3.qt-win-opensource-4.7.2-vs2008.exe 安装过程: 1.安装VS2008(可以选择默认路径) 2.安装qt-win-opensource-4.7.2-vs2008.exe(我选择路径D:\Qt\4.7.2) 3.安装qt-vs-addin-1.1.8.exe(不需要考虑QT,可以选择默认路径) 4.配置QT环境变量,控制面板->系统->高级->环境变量,在“系统变量”这个组合框中,找到“Path”变量,在"Path"的最后面添加 "D:\Qt\4.7.2\bin\" 5.开始 -> 程序 -> Microsoft Visual Studio 2008 -> Visual Studio Tools ->Visual Studio 2008 命令提示 6.在命令行中键入: d: 回车 cd D:\Qt\4.7.2 回车 configure -platform win32-msvc2008 -debug-and-release nmake 7.配置qt-vs-addin, 把D:\Qt\4.7.2下的.qmake.cache和configure.cache这两个文件手动备份到另一个地方。然后输入指令:nmake confclean 指令完成后将会减少一些不再需要的文件。这个时候再把刚备份的.qmake.cache和configure.cache拷回原处。这时候最好把编译后的一堆东西打个包备个份,免得下次又要编译几个小时。 8.打开VS2008,菜单栏会多出一个Qt选项,选择Qt选项下的Qt Options,在Qt Versions中添加路径,点击Add,选择路径D:\Qt\4.7.2,OK。 9.打开VS2008,工具 -> 选项 -> 项目和解决方案 -> VC++目录中 在“包含文件”中加入D:\Qt\4.7.2\include 在“库文件”中加入 D:\Qt\4.7.2\lib 在可执行文件中添加D:\Qt\4.7.2\bin visual assist设置 打开visual assist设置面板,选择project- >C/C++ Directories 将Platform选择为Custom,然后分别在stable include files 和src files中加入qt的include和src目录,重启VisualStudio .后续 现在已经能够在VS2008中编译运行Qt4程序了,如果想自己在命令行中编译运行,需要运行Qt4的命令行控制台 开始-》所有程序-》Qt by Nokia v4.7.2 (VS2008 OpenSource)-》Qt 4.7.2 Command Prompt 这样会自动设置好Qt4和VC编译器的环境变量,不然编译会出现错误 安装后,如果vs2008启动失败,则需要安装vs2008 sp1,试试