August 3, 2009

Qt-x11-opensource-src-4.4.3.tar.bz2 install

download qt-x11-opensource-src-4.4.3.tar.bz2
 /* 可以在自己的目錄底下用網路指令來下載安裝包,
 wget ftp://ftp.trolltech.com/qt/source/ qt-x11-opensource-src-4.4.3.tar.bz2 */

 tar -jxv -f qt-x11-opensource-src-4.4.3.tar.bz2 /*解壓縮*/ 

從configure開始,之後要在qt-x11-opensource-src-4.4.3目錄底下工作,除了make install除外
執行 ./configure -prefix 自己所指定的安裝路徑 /*如果自己沒有指定安裝路徑,則預設安裝路徑會設成 /usr/local/Trolltech/qt...; configure完成後會產生Makefile檔*/ 

make /*產生Makefile檔就執行make,一般要花很久的時間,我是花3個小時半*/ 

make install /*make無問題後,要切換到root權限下執行make install,你可以用su指令更改權限*/
 ps:如果沒有設定安裝路徑,則 make install 後要修改環境變數(environment variable) 
欲修改 environment variable 請參考http://doc.trolltech.com/4.3/installation.html 

qt各版本的載點: ftp://ftp.trolltech.com/qt/source/

Today's Visitors: 0 Total Visitors: 26
Personal Category: Uncategorized Articles Topic: learning / academic / Science
[Trackback URL]

Post A Comment









Yes No



Please input the magic number:

( Prevent the annoy garbage messages )
( What if you cannot see the numbers? )
Please input the magic number

誰來收藏
Loading ...
unlog_NVPO 0