source: projectionDesigner/trunk/INSTALL @ 147

Last change on this file since 147 was 4, checked in by Torben Dannhauer, 15 years ago
File size: 1.4 KB
Line 
1The linux version:
2==================
3
4* Introduction
5
6First of all, create two directories! Qt-4.2.2 and usr in your home.
7$HOME/Qt-4.2.2 will be your QTDIR.
8
9Add the following lines to your .bashrc, and source it (or close and reopen your terminal)
10    export QTDIR=~/Qt-4.2.2
11    export PATH=${PATH}:${QTDIR}/bin
12    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${QTDIR}/lib:${HOME}/usr/lib
13
14The Qt compilation will spent almost two hours, so this is the first thing to begin.
15
16During the Qt compilation, you can install GLee and DevIL.
17
18
19* The Qt library
20
21Download (the OpenSource Version) from http://www.trolltech.com/developer/downloads/qt/x11 (careful: about 36Mo)
22
23Uncompress, compile and install Qt in a local directory:
24$ tar zxvf qt-x11-opensource-src-4.2.2.tar.gz
25$ cd qt-x11-opensource-src-4.2.2
26$ ./configure --prefix=$QTDIR # it takes 5mn.
27(type 'yes' at the license question, if you agree)
28$ make # Almost 2 hours but perhaps it is possible to remove some useless content (with the configure options).
29
30There is nothing else to do during the Qt compilation, so you can go and read some Google News.
31
32When Qt Compilation is over, then you can install it:
33$ make install
34
35
36* ProjDesigner
37
38Uncompress, qmake and make it:
39$ tar zxvf projection-designer-linux-rc1.tar.gz
40$ qmake
41$ make
42
43And finally, to test, do not forget to declare that you want to link with glrc:
44LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${PWD}/glrc
Note: See TracBrowser for help on using the repository browser.