安装Qt SDK
从官网上下载:http://qt.nokia.com/
把安装文件放在administrator目录下
在终端输入以下两句:
代码
/*这个是从官网上看来的,就在下载页*/
/*On Linux/Unix, you need to make the file executable in order to run it. You can either do this with your desktop's file manager or, at the command line, type:*/
chmod u+x qt-sdk-linux-x86-opensource-2010.05.1.bin
/*You should now be able to execute the file as normal. You can do this from the command line by typing:*/
./qt-sdk-linux-x86-opensource-2010.05.1.bin
之后会弹出一个对话框(和在windows下一样),之后点下一步或确定之类的。
不过还有一种方法是不用把安装文件移到administrator目录下,通过命令来获取
/**************************************************************************
                 
原文来自博客园——Submarinex的博客: www.cnblogs.com/submarinex/               
 
*************************************************************************/