QT安装--VC&QT

来源:互联网 发布:淘宝内部优惠券图片 编辑:程序博客网 时间:2024/06/05 20:26

QT安装--vc&Qt  

2010-05-10 17:03:34|  分类: 默认分类|字号 订阅

      从这个五一前就开始安装qt来了,结果假期前后折腾了好几天,总是有很多小问题卡在前进的道路上,深深的感受到基础的欠缺对于学习造成很多影响,先记录一下在windows下如何安装,这个很简单,步骤如下:

1. 下载qt-win-noncommercial-msvc-3.2.1.exe地址是http://d.download.csdn.net/down/171924/hlw168888

2. 点击安装,一般没啥问题

3  安装好之后打开vc6(我是用的这个老版本,初学者嘛,如果用的是vs.net2002之后的版本就不用进行下列操作了,已经自动设置好了)

If you use MS Visual Studio 6 for development, you may want to install
the Qt add-in that we provide. This can be done as follows:

1. Start Visual Studio if it isn't already running.打开vc6
2. Click Tools|Customize to launch the Customize dialog. 选择tool--customize
3. Click the Add-ins and Macro Files tab.选择 Add-ins and Macro Files 一栏
4. Ensure the checkbox to the left of the "QMsDev Developer Studio-Add-In"
  add-in is checked.选择在左边的"QMsDev Developer Studio-Add-In"打个对勾
5. Click Close.

设置好之后会看到一个工具栏,上边有几个按钮,功能如下

-New Qt Project - create a Qt .pro project file and the corresponding
  Visual Studio .dsp file.
Generate Qt Project - create a Visual Studio .dsp file based on a Qt
  project .pro file.
New Qt Dialog - creates a Qt dialog that you can customize with Qt
  Designer. The dialog is automatically added to the Qt .pro project file.
Qt Designer - launches Qt Designer.
Add MOC - add a custom build step which calls moc.exe (meta object
  compiler)
Add UIC - add an existing Qt Designer .ui file to an existing project.

这下就可以使用qt了

MS Visual Studio project (.dsp and .vcproj) files are provided for all Qt
example and tutorial programs. 

安装很简单,接下来准备hello world啦,继续学习


http://blog.163.com/yly_ly/blog/static/6520368220104105334314/

原创粉丝点击