-
Notifications
You must be signed in to change notification settings - Fork 15
/
INSTALL
51 lines (36 loc) · 1.78 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
First of all, if you're on Gentoo Linux or some other portage-based system, then
there's no need to continue; QTads is in portage and you can install it normally
with:
emerge games-engines/qtads
For all other Linux distributions, a self-contained AppImage binary is provided
on the download page. If you still want to build QTads yourself from source,
read on.
QTads uses qmake as its build system. To build it:
cd <directory where you unpacked the QTads sources>
qmake PREFIX=/usr/local
make -j4
Replace "-j4" with the amount of CPUs on your machine. "-j2" for a dual-core
CPU, for example. Specifying PREFIX is optional. If you omit it, the default
is /usr/local.
This will create a "qtads" binary which you can then copy and run from anywhere.
There are no files that need to be installed, although can do a full
installation as well with:
make install
This will install all files into /usr/local, unless you specified a different
PREFIX. This will also install a desktop file and MIME information data for
better integration with your desktop (if your deskop is monitoring /usr/local
for such files, that is.) You might need to run the install command as root, if
you don't have write permission for the specified PREFIX.
You can disable audio support when building by running qmake like this instead:
qmake -config disable-audio
This will produce a version of QTads that does not support audio.
For it to build correctly, you will need to have the Qt5 libraries along with
their development headers/tools installed. You need at least Qt 5.5.
If audio support is enabled, you'll also need:
SDL 2
libsndfile
libfluidsynth (version 2.x)
libvorbisfile
libmpg123
Most Linux distributions provide the development versions in packages that have
"-dev" appended to the package name.