分类: LINUX
2010-06-23 10:56:54
为新Blog做链接:
首先,需要获得Qt-everywhere的源码包,这里使用的是4.6.2版本,名称是qt-everywhere-opensource-src-4.6.2.tar.gz,可以在下载。之后,遵循如下步骤进行编译:
(1) tar xvf openssl-1.0.0.tar.tar
(2) cd openssl-1.0.0; ./config; make; (sudo) make install
(3) tar xzvf qt-everywhere-opensource-src-4.6.2.tar.gz
(4) (Yum) Install requirements in
(5) cd qt-everywhere-opensource-src-4.6.2; export OPENSSL_LIBS='-L/usr/local/ssl/lib -lssl -lcrypto -ldl'
./configure -openssl-linked; make;
(sudo) make install
(*) Above steps build a Qt in /usr/local/Trolltech/Qt-4.6.2 and demos/browser/browser
(*) Can ignore openssl if does not need that
(*) Moblin may have packages with different names as other Linux
Refer to http://moblin.intel.com/download/moblin/development/2.1/common/ia32/os/i586/
需要注意以下几点: