forked from dpc-grindland/valkyrie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
48 lines (34 loc) · 1.35 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
Introduction
============
Valkyrie is a Qt5 application and uses qmake as part of the build
process. qmake is part of your Qt4 installation. You should check
that you have the correct qmake version, by running "qmake --version",
because in some cases the installed "qmake" is actually a Qt3 version.
It may be that the version you need is installed as "qmake-qt4".
If you want to play around with the build config, check out:
valyrie.pro - main qmake project file
src/src.pro - the meat of the project
vk_config.pri - project include file: included everywere
In particular, you may want to edit the following:
- src/src.pro:
SOURCES += /usr/share/qtcreator/gdbmacros/gdbmacros.cpp
Note: Qt wants this in order to create lots of debug info. If you're
not debugging, then you probably don't want this. Is also rather
nasty to hardcode the path in like this, but I don't know of a good
workaround...
- vk_config.pri:
CONFIG += silent # make --quiet
CONFIG += debug # release/debug
Build and run without "installing"
==================================
qmake
make
The valkyrie binary is put here: ./bin/valkyrie
make clean to clean up and start again
make distclean to also remove all the Makefiles created by qmake.
Build and install
=================
qmake PREFIX=/path/to/installation/tree
make
make install
That's it!