forked from gcompris/GCompris-qt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HACKING
75 lines (54 loc) · 2.28 KB
/
HACKING
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
GCompris HACKING
Official repository
-------------------
The official repository requires a KDE developer account, we will ask regular
contributors to get an account and work on the KDE repository.
http://quickgit.kde.org/?p=gcompris.git
For new developers and those interested only in smaller contributions use the
GitHub repository.
Source code from GitHub
-----------------------
Checkout the source code by cloning it from GitHub
git clone git://github.com/gcompris/GCompris-qt.git
If you want to have a personal fork, in order to commit occasional patches,
fork it on GitHub then clone your fork
git clone [email protected]:<username>/GCompris-qt.git
When asking for a pull request, create a new topic branch and commit your
changes there then open a pull request to gcompris-qt repository on GitHub.
See GitHub's documentation for more information.
https://help.github.com/categories/collaborating/
Dependencies
------------
In order to be able to compile GCompris the following Qt5 dependencies need to
be installed
Qt 5 Development Defaults
Qt 5 qmake
Qt Creator
Qt Linguist Tools
Qt Core
Qt Graphical Effects QML Module
Qt Gui
Qt Multimedia
Qt Multimedia QML Module
Qt Network
Qt Qml
Qt Quick
Qt Svg
Qt Xml
Qt XmlPatterns
Installing dependencies on a Debian based systems can be done like this:
sudo aptitude install libqt5svg5-dev libqt5xmlpatterns5-dev \
qml-module-qtmultimedia qt5-default \
qml-module-qtgraphicaleffects qt5-qmake qtcreator \
qtdeclarative5-dev qtdeclarative5-dev \
qtmultimedia5-dev qtquick1-5-dev qttools5-dev \
qttools5-dev-tools libqt5multimedia5-plugins \
qml-module-qtsensors libqt5quickparticles5 \
qml-module-qtquick2 qml-module-qtquick-particles2 \
libqt5sensors5-dev libqt5sensors5
To build for Android, Qt 5 AndroidExtras also needs to be installed.
Build
-----
Start QtCreator and select Open Project and open CMakeLists.txt in the
gcompris-qt root directory. Follow the wizard instructions.
Use the buttons on the lower left side to build, run, and debug GCompris.