| 1 | Basic Installation of Qt-GUI Plugin for Licq |
|---|
| 2 | ============================================ |
|---|
| 3 | |
|---|
| 4 | Requirements for Qt-GUI: |
|---|
| 5 | |
|---|
| 6 | - X11 header files (xfree-devel) |
|---|
| 7 | - Qt 3.0 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 | experience a crash on startup. |
|---|
| 12 | - GNU make |
|---|
| 13 | |
|---|
| 14 | Qt can be downloaded from ftp://ftp.trolltech.com/pub/qt/source |
|---|
| 15 | (search for qt-x11-free-xxx.tar.gz). |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | These are the installation instructions: |
|---|
| 19 | |
|---|
| 20 | If there is no "configure" script or you downloaded sources from |
|---|
| 21 | CVS then use `make -f Makefile.cvs' to create your configure script. |
|---|
| 22 | You will need autoconf and automake for this to work: |
|---|
| 23 | ftp://ftp.gnu.org/gnu/autoconf/ |
|---|
| 24 | ftp://ftp.gnu.org/gnu/automake/ |
|---|
| 25 | |
|---|
| 26 | 1. `cd' to the directory where you unpacked Qt-gui sources and type |
|---|
| 27 | `./configure' to configure the package for your system. |
|---|
| 28 | |
|---|
| 29 | Running `configure' takes awhile. While running, it prints some |
|---|
| 30 | messages telling which features it is checking for. |
|---|
| 31 | If you want KDE support, use --with-kde and please read README.KDE !!! |
|---|
| 32 | |
|---|
| 33 | 2. Type `make' to compile the package. |
|---|
| 34 | |
|---|
| 35 | 3. Type `make install' to install the programs and any data files and |
|---|
| 36 | documentation. You have to be 'root' for this to work. Per default |
|---|
| 37 | files are installed in /usr/local/* |
|---|
| 38 | |
|---|
| 39 | |
|---|
| 40 | KDE-SUPPORT: |
|---|
| 41 | ============ |
|---|
| 42 | |
|---|
| 43 | If you want to have KDE support, please type |
|---|
| 44 | `./configure --with-kde' and then proceed with step 2. Please read |
|---|
| 45 | README.KDE for further details! |
|---|
| 46 | |
|---|
| 47 | NOTE: |
|---|
| 48 | ===== |
|---|
| 49 | |
|---|
| 50 | If you get errors like |
|---|
| 51 | |
|---|
| 52 | Unable to load plugin (qt-gui): /usr/lib/licq/licq_qt-gui.so: |
|---|
| 53 | +undefined symbol: dragEnterEvent__14QMultiLineEditP15QDragEnterEvent. |
|---|
| 54 | |
|---|
| 55 | or similiar (text after "undefined symbol: " might vary) then you have |
|---|
| 56 | a older Qt 2.x lib in the paths given in /etc/ld.so.conf. uninstall them or |
|---|
| 57 | make sure that the Qt 3.x lib is found first. |
|---|
| 58 | |
|---|
| 59 | If you get compilation errors in a file named "*.moc", then you're most |
|---|
| 60 | likely using the wrong moc compiler. You need the one shipped with your |
|---|
| 61 | Qt 3.x version. |
|---|
| 62 | NOTE some distributions rename it to "moc2". use --with-qt-moc=<path>/moc2 |
|---|
| 63 | to fix this. |
|---|
| 64 | |
|---|
| 65 | If you set the QTDIR environment variable to point to your Qt 3 |
|---|
| 66 | installation before running ./configure, everything should run through |
|---|
| 67 | just fine: |
|---|
| 68 | |
|---|
| 69 | `export QTDIR=/usr/lib/qt3' |
|---|
| 70 | |
|---|
| 71 | Take a look at the other README's as well. |
|---|
| 72 | |
|---|
| 73 | If you have a problem that is not noted here, read through the licq-main |
|---|
| 74 | and licq-devel mailinglist archives: |
|---|
| 75 | |
|---|
| 76 | http://sourceforge.net/mailarchive/forum.php?forum=licq-main |
|---|
| 77 | http://sourceforge.net/mailarchive/forum.php?forum=licq-devel |
|---|