-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
75 lines (46 loc) · 1.91 KB
/
INSTALL
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
Requirements
============
* Qt framework, version 4.7 or newer (http://qt.digia.com/product/)
* OpenGL version 3.3 or newer and a compatible graphics card
The program can be built 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 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.
Windows
=======
You must have the open source edition of Qt installed. The program can be compiled
using either the MinGW compiler or Microsoft Visual C++.
If you are using MinGW, open the Qt Command Prompt. Go to the directory where
you have unpacked Descend and run:
> configure.bat
> mingw32-make
If you are using Microsoft Visual C++, open the Visual Studio Command Prompt.
Make sure that QTDIR is set to the path where Qt was installed. Go to the directory
where you have unpacked Descend 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\Descend').
-debug
Build with debugging symbols.
-msvc
Generate a solution for Microsoft Visual Studio instead of Makefiles.