QT 4.5.2 설치하기

Posted 2009.08.18 20:00

http://qt.nokia.com/downloads 에서 Choose LGPL/Free를 선택하고 Download Qt SDK for Linux/X11 32-bit** (275Mb)를 다운받는다.

 

Qt SDK for Open Source C++ development on Linux/X11 32-bit

If download doesn't start automatically,

click: http://download.qt.nokia.com/qtsdk/qt-sdk-linux-x86-opensource-2009.03.1.bin

On Linux/Unix, you need to make the file executable in order to run it. You can either do this with your desktop's file manager or, at the command line, type:

chmod u+x qt-sdk-linux-x86-opensource-2009.03.bin

You should now be able to execute the file as normal. You can do this from the command line by typing:

./qt-sdk-linux-x86-opensource-2009.03.bin

 

위에서 처럼 실행하면 아래 그림과 같은 셋업이 실행된다.

 

Screen-QT4.5.2Setup.png

 

위와 같이 실행을 한 후에 /opt/qtsdk-2009.03 디렉토리가 생기는 데, 설치가 끝난것이 아니라 본격적인 설치는 이제부터다...

자세한 설치 프로세스는 /opt/qtsdk-2009.03/qt/INSTALL 파일을 살펴보면 나온다.

 

[root@localhost qt]# ./configure
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 GNU General Public License (GPL) versions 3.
You are also licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.

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

Creating qmake. Please wait...
g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/opt/qtsdk-2009.03/qt/include -I/opt/qtsdk-2009.03/qt/include/QtCore -I/opt/qtsdk-2009.03/qt/src/corelib/global -I/opt/qtsdk-2009.03/qt/src/script -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/opt/qtsdk-2009.03/qt/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT  project.cpp
g++ -c -o property.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/opt/qtsdk-2009.03/qt/include -I/opt/qtsdk-2009.03/qt/include/QtCore -I/opt/qtsdk-2009.03/qt/src/corelib/global -I/opt/qtsdk-2009.03/qt/src/script -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/opt/qtsdk-2009.03/qt/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT  property.cpp
............................. 생략..........................

 

  for /opt/qtsdk-2009.03/qt/examples/script/customclass/customclass.pro
  for /opt/qtsdk-2009.03/qt/examples/script/context2d/context2d.pro

Qt is now configured for building. Just run 'gmake'.
Once everything is built, you must run 'gmake install'.
Qt will be installed into /usr/local/Trolltech/Qt-4.5.2

To reconfigure, run 'gmake confclean' and 'configure'.

[root@localhost qt]#

 

configure를 했으면 make 를 하고 make install을 하면 설치가 완료된다.

 

'Research > Linux' 카테고리의 다른 글

mythtv: pulseaudio  (0) 2009.08.21
QSqlDatabase: QMYSQL3 driver not loaded  (0) 2009.08.19
QT 4.5.2 설치하기  (0) 2009.08.18
/etc/profile.d/*.sh  (0) 2009.08.18
텔넷: getaddrinfo: localhost Name or service not  (0) 2009.08.14
rewrite mode on  (0) 2009.08.13
« PREV : 1 : ··· : 32 : 33 : 34 : 35 : 36 : 37 : 38 : 39 : 40 : ··· : 97 : NEXT »