File: INSTALL

package info (click to toggle)
fraqtive 0.4.3-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 988 kB
  • ctags: 1,249
  • sloc: cpp: 8,387; sh: 103; makefile: 45
file content (85 lines) | stat: -rw-r--r-- 2,292 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
Installation
============

Requirements:

 * Qt 4.3 or newer (http://www.trolltech.com/products/qt/)

The program can be build using the standard 'qmake' tool from Qt. Simple configure
scripts are available for both Linux and Windows which create a configuration file
and run qmake with appropriate parameters. See detailed instructions below.


Linux
=====

To compile the program you will need a modern C++ compiler (preferably gcc)
and headers for the Qt library (if you use binary packages, make sure you have
the appropriate 'devel' package installed).

The typical procedure of building and installing the program is:

    $ ./configure
    $ make
    # make install

Additional options that can be passed to the configure script:

    -prefix DIR

        Location where the package will be installed (default is '/usr/local').

    -qmake PATH

        Full path to the 'qmake' tool (required if it cannot be found
        automatically).

    -debug

        Build with debugging symbols.

    -no-sse2
    
        Compile without using SSE2 instructions (by default SSE2 is enabled).


Windows
=======

You must have the Qt/Windows Open Source Edition installed. By default it is compiled
using the MinGW compiler. Since Qt 4.3.2 also Microsoft Visual C++ is supported and
can be used to compile Qt libraries and programs using Qt.

If you are using MinGW, open the Qt Command Prompt. Go to the directory where
you have unpacked Fraqtive and run:

    > configure.bat
    > mingw32-make

If you are using Microsoft Visual C++, open the Visual Studio Command Prompt. Note that
only Visual Studio 2005 or newer is supported. Make sure that QTDIR is set to the path
where Qt was installed. Go to the directory where you have unpacked Fraqtive and run:

    > set QTDIR=C:\path\to\qt4
    > configure.bat
    > nmake

Additional options that can be passed to the configure script:

    -prefix DIR

        The location where the package will be installed (default is
        'C:\Program Files\Fraqtive').

    -debug

        Build with debugging symbols.

    -no-sse2
    
        Compile without using SSE2 instructions (by default SSE2 is enabled
        except on MinGW where it's buggy).

    -msvc

        Generate a solution for Microsoft Visual Studio instead of Makefiles.