我刚刚学linux,版本是Fedora core(2.6.18-1.2798.fc6)要安装Qt。是按照以下步骤来的
◆ tmake 1.8
◆ Qt/Embedded 2.3.7
◆ Qt 2.3.2 for X11
1、安装tmake
在Linux 命令模式下运行以下命令:
tar xfz tmake-1.8.tar.gz
export TMAKEDIR=$PWD/tmake-1.8
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-x86-g++
export PATH=$TMAKEDIR/bin:$PATH
2. 安装Qt/Embedded 2.3.7
在Linux 命令模式下运行以下命令:
tar xfz qt-embedded-2.3.7.tar.gz
cd qt-2.3.7
export QTDIR=$PWD
export QTEDIR=$QTDIR
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
./configure -qconfig -qvfb -depths 4,8,16,32
就在这时,就出现以下:
This is the Qt/Embedded Free Edition
You are licensed to use this software under the terms of the GNU General Public License(GPL)
Type "G" to view the GNU General Public License
Type "yes"to accept this license offer
Type "no" to decline this license offer
Do you accept the terms of the license?
选择no时,运行会又出现选择
选择yes时,出现如下:
choose a feature configuration:
1.Minimal(630kb)
2.Small(960kb)等等,
要进行选择。是不是缺个东西,希望高手指教一下,谢谢!