标题:终于安装好了qt-x11-opensource-src-4.1.2.,现将安装说明公布
作者:zou3pi
日期:2006-05-08 10:22
内容:
这个问题XChinux 大哥有说明的,可是我看的不是很懂,弄了几天才弄好,这个适合菜鸟级的,只要英语不是很差就可以了,我英语太差劲,就不 翻译了。
-----------------------------英文原版如下:
INSTALLING Qt/X11 Version 4.1.2.
1.If you have the commercial edition of Qt, install your license
file as $HOME/.qt-license.
For the open source version you do not need a license file.
2.Unpack the archive if you have not done so already:下载文件后解压缩,如果已己解压缩,直接进行步骤3
cd /tmp#进入QT文件夹,这里是在TMP下
gunzip qt-x11-opensource-src-4.1.2.tar.gz # uncompress the archive
tar xvf qt-x11-opensource-src-4.1.2.tar # unpack it
This creates the directory /tmp/qt-x11-opensource-src-4.1.2 containing the files
from the archive. We only support the GNU version of the tar
archiving utility. Note that on some systems it is called gtar.
3.Building
To configure the Qt library for your machine type:
cd /tmp/qt-x11-opensource-src-4.1.2 #进入安装文件包将TMP换为你的QT安装文件所在目录
./configure#不懂,复制后,回车
Type "./configure -help" to get a list of all available options.
To create the library and compile all the demos, examples, tools,
and tutorials, type:建立和编辑所有图书 游行、实例、工具 并辅导、类型:
make #不懂,复制后,回车
To install the library, demos, examples, tools, and tutorials,
type:
su -c "make install"#同上
and enter the root password. Qt is by default installed into
/usr/local/Trolltech/Qt-4.1.2 but this can be changed by using
the -prefix parameter.
Note that on some systems the make utility is..
#1 [yfx2003 05-16 23:15]
不匝地
#2 [XChinux 05-16 23:26]
这个问题XChinux 大哥有说明的,可是我看的不是很懂,弄了几天才弄好,这个适合菜鸟级的,只要英语不是很差就可以了,我英语太差劲,就不 翻译了。
-----------------------------英文原版如下:
INSTALLING Qt/X11 Version 4.1.2.
1.If you have the commercial edition of Qt, install your license
file as $HOME/.qt-license.
For the open source version you do not need a license file.
2.Unpack the archive if you have not done so already:下载文件后解压缩,如果已己解压缩,直接进行步骤3
cd /tmp#进入QT文件夹,这里是在TMP下
gunzip qt-x11-opensource-src-4.1.2.tar.gz # uncompress the archive
tar xvf qt-x11-opensource-src-4.1.2.tar # unpack it
This creates the directory /tmp/qt-x11-opensource-src-4.1.2 containing the files
from the archive. We only support the GNU version of the tar
archiving utility. Note that on some systems it is called gtar.
3.Building
To configure the Qt library for your machine type:
cd /tmp/qt-x11-opensource-src-4.1.2 #进入安装文件包将TMP换为你的QT安装文件所在目录
./configure#不懂,复制后,回车//熟悉类Unix系统下软件开发、安装的人一般都知道的,这是一个shell脚本程序,为软件安装测试当前系统的一些必要的配置信息,如果这一步最后给出的信息说明未通过,那么就不能进行下一步的编译工作。
Type "./configure -help" to get a list of all available options.
To create the library and compile all the demos, examples, tools,
and tutorials, type:建立和编辑所有图书 游行、实例、工具 并辅导、类型:
make #不懂,复制后,回车//make命令依据Makefile中的规则开始编译
To install the library, demos, examples, tools, and tutorials,
type:
su ..
#3 [zou3pi 05-19 11:27]
使用了一段时间,才知道以前遇到的问题是那么弱智。汗自己一个
#4 [sinl 05-24 14:56]
正常,没有谁无师自通