Qtインストール方法

■ダウンロード
開発ツールはEclipseを使うことにしたので、フレームワークのみダウンロード。
http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.0.tar.gz
■インストール

$ ./configure --prefix=/usr/local/qt-4.7.0
Which edition of Qt do you want to use ?
Type 'c' if you want to use the Commercial Edition.
Type 'o' if you want to use the Open Source Edition.

オープンソース版を入れるのでoと入力。

This is the Qt/X11 Open Source Edition.
You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.
Type '3' to view the GNU General Public License version 3.
Type 'L' to view the Lesser GNU General Public License version 2.1.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Do you accept the terms of either license?

ライセンスについて聞かれるのでyesと入力。

$ make
# make install

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です