Qt 4.x Open Source (MinGW) for Windows安装







Qt 4.x Open Source (MinGW) for Windows安装

qt-win-opensource-4.7.3-vs2008.exe中的vs2008和qt什么关系?

qt-win-opensource-4.7.0-rc1-mingw.EXE和标题中的exe什么区别?

qt是一个c++库,可以支持多个不同的c++编译器
qt-win-opensource-4.7.3-vs2008.exe应该是支持vs2008的qt 4.7.3版本,可以在vs2008上开发和编译QT程序
qt-win-opensource-4.7.0-rc1-mingw.EXE是自带mingw编译器的QT 4.7.0 rc1版本,是由
mingw编译后的版本,支持mingw编译器编译qt应用程序,里面带的c++编译器版本应该是mingw-gcc4.4.0


这里是指直接在Windows 2000/XP上安装Trolltech预编译好的Qt 4.x for Windows版本。这个版本使用了开源的 MinGW编译器。因为很多在Windows上的朋友早已经习惯了Visual C++或者Borland C++ Builder这样的IDE,所以这里给大家推荐的是 Dev-C++,Windows上的开源IDE,希望对大家能有所帮助。 

下载 

Dev-C++ 
http://prdownloads.sourceforge.net/dev-cpp/devcpp-4.9.9.2_setup.exe?download 

http://www.qtopia.org.cn/ftp/mirror/dev-cpp.sourceforge.net/devcpp-4.9.9.2_setup.exe 

Qt 4.x Open Source (MinGW) for Windows 


http://www.qtopia.org.cn/ftp/mirror/ftp.trolltech.com/qt/source/qt-win-opensource-4.1.1-mingw.exe 

安装 

先安装Dev-C++,在Choose Components的时候,记得要保证Mingw compiler system被选中,默认是选中的。 

然后安装Qt 4.x,在MinGW Installation的时候,请保证Download and install minimal MinGW installation.不要被选中,默认是不选中的。另外在Previously installed MinGW:一项中填入上一步中Dev-C++安装的位置,默认位置为C:\Dev-Cpp。在Configure Enviroment的时候,Set environment variables要选中,默认是选中的。 

然后就都安装完毕了。 

想看看Qt 4.x的demo么? 
运行一下C:\Qt\4.1.1\bin\qtdemo.exe 
看到了么? 
这些都是Qt! 

注:大家也可以参考一个朋友的帖子 
http://www.huisoft.com.cn/migration/notes/20051025_1.htm

你可能感兴趣的:(windows,qt,编译器,Borland,Components,variables)