Changeset 6514 for trunk/qt4-gui/doc

Show
Ignore:
Timestamp:
09/11/08 01:57:45 (3 months ago)
Author:
flynd
Message:

Rewrote Qt4-Gui build instructions and added information about CMAKE_INSTALL_PREFIX.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt4-gui/doc/INSTALL

    r5299 r6514  
    1717 
    1818 
    19 These are the installation instructions: 
     19Building instructions: 
     20  1. Unpack, build and install Licq and any other plugins you need. 
    2021 
    21   1. Go to the directory where you unpacked Qt4-GUI sources and create 
    22      the new directory named build. Go into that directory and type 
    23      'cmake ..' (without quotes). 
    24      This will check for required components and create the build tree 
    25      along with needed Makefiles. While running, it prints some messages 
    26      telling which features it is checking for. If you want KDE support, 
    27      please read README.KDE. 
     22  2. Go to the Qt4-Gui directory and make a build directory. 
     23     > cd plugins/qt4-gui 
     24     > mkdir build 
     25     > cd build 
    2826 
    29   2. Type 'make' to compile the package. 
     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. 
    3034 
    31   3. Type 'make install' to install the plugin, data files and 
    32      documentation. You have to be 'root' for this to work. 
    33      Per default files are installed with /usr/local prefix. 
     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 
     42