-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
66 lines (43 loc) · 1.64 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
QFract -- a Qt based fractal viewer
To build from the source code, you need Qt 4.5 (or later?).
Download it from http://qt.nokia.com/ and install.
You also need Boost C++ Libraries (http://www.boost.org/).
Supported platforms are:
- Mac OS X (10.4 or later),
- Windows (with MinGW),
- Linux, Mac OS X+X11, FreeBSD, etc. on X Window System.
To build on Windows + MinGW, you need dlfcn-win32.
(http://code.google.com/p/dlfcn-win32/)
Install instruction:
First unpack the archive as follows
$ tar zcvf qfract-??????.tar.gz
$ cd qfract4
and edit Makefile, config.h, plugins/Makefile to adjust your environment.
Then
$ make
to compile everything.
Warning: Do not run qmake by yourself. It will overwrite Makefile.
For recent Mac OS X, qmake create XCode project file, so open
Makefile.qmake.xcodeproj and build qfract by XCode.
Building by XCode is not enough to run qfract. Follow the instruction
below.
Under other environment than Mac OS X (Aqua) and Windows, just execute
$ ./qfract
to run the binary.
For Mac OS X (Aqua) and Windows, you also need to to the following after
running make.
i) For Mac OS X, run
$ make install-mac
to copy necessary files into qfract-mac.app in order to make
an application bundle. qfract-mac.app can run well when it is moved to
other place.
If you want to build a universal binary, edit also qfract.pro.
ii) For Windows, run
$ make install-win
to copy necessary files into dist directory.
Then you can run dist/qfract.exe and dist directory can
be moved and renamed as you like.
Depending on the libraries, you might also need to put libraries
(of Qt, Boost, gcc, stdc++, etc.) in the same directory as
qfract.exe.
Have fun!