|
Revision 6514, 1.4 kB
(checked in by flynd, 2 months ago)
|
|
Rewrote Qt4-Gui build instructions and added information about CMAKE_INSTALL_PREFIX.
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | Basic Installation of Qt4-GUI Plugin for Licq |
|---|
| 2 | ============================================= |
|---|
| 3 | |
|---|
| 4 | Requirements for Qt4-GUI: |
|---|
| 5 | |
|---|
| 6 | - X11 header files (xfree-devel or xorg-devel) |
|---|
| 7 | - Qt 4.3.2 or greater. Most distributions come with packages like Qt and |
|---|
| 8 | Qt-devel, you need both, please install the missing ones! |
|---|
| 9 | - A C++ compiler and libstc++-devel. This compiler must be the same |
|---|
| 10 | version that was used to compile Qt with. If it is not, you will |
|---|
| 11 | probably experience a crash on startup. |
|---|
| 12 | - cmake 2.4.2 or greater. |
|---|
| 13 | - GNU make |
|---|
| 14 | |
|---|
| 15 | Qt can be downloaded from ftp://ftp.trolltech.com/pub/qt/source |
|---|
| 16 | (search for qt-x11-opensource-src-X.X.X.tar.gz). |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | Building instructions: |
|---|
| 20 | 1. Unpack, build and install Licq and any other plugins you need. |
|---|
| 21 | |
|---|
| 22 | 2. Go to the Qt4-Gui directory and make a build directory. |
|---|
| 23 | > cd plugins/qt4-gui |
|---|
| 24 | > mkdir build |
|---|
| 25 | > cd build |
|---|
| 26 | |
|---|
| 27 | 3. Run cmake to generate build files. |
|---|
| 28 | > cmake .. |
|---|
| 29 | By default Qt4-Gui is set to be installed in /usr/local. To specify a |
|---|
| 30 | different base directory specify an install prefix to cmake. |
|---|
| 31 | > cmake -DCMAKE_INSTALL_PREFIX=/opt/licq .. |
|---|
| 32 | To build with KDE 4 support, add -DWITH_KDE=ON to the command line as |
|---|
| 33 | well. |
|---|
| 34 | |
|---|
| 35 | 4. Build Qt4-Gui. |
|---|
| 36 | > make |
|---|
| 37 | Depending on your system, you may have to use gmake instead of make. |
|---|
| 38 | |
|---|
| 39 | 5. Install Qt4-Gui. Unless you specified a base directory where you have |
|---|
| 40 | write privileges you must run this command as root. |
|---|
| 41 | > make install |
|---|