bambooflow Note

Qt4インストール

最終更新:

bambooflow

- view
メンバー限定 登録/ログイン

Qt4インストール


Vineはapt-getでQt3は入れられるが、Qt4はvine-plusに含まれていないのでapt-getじゃ入れられないみたい。
直接ダウンロードしてきてインストールする方法をメモる。
Pen1MHzでコンパイルに2〜3時間かかった。

ダウンロード


http://trolltech.com/downloads
 -> Go to Open Source Downloads
 --> Qt Open Source Edition for C++ Developers: X11 Download

インストール


# apt-get install XOrg-devel XOrg-gl XOrg-gl-devel

$ cd /tmp
$ gunzip qt-x11-opensource-desktop-4.3.3.tar.gz
$ tar xvf qt-x11-opensource-desktop-4.3.3.tar

$ cd /tmp/qt-x11-opensource-desktop-4.3.3
$ ./configure


This is the Qt/X11 Open Source Edition.

You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
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 either license? yes

$ gmake
$ su -c "gmake install"

設定

.bash_profileに以下を追加する。

PATH=/usr/local/Trolltech/Qt-4.3.3/bin:$PATH
export PATH

設定反映。
$ source ~/.bash_profile


インストールが完了したら、Online Reference Ddocumentationでお勉強。


参考ページ


以上
記事メニュー
ウィキ募集バナー