20.1.23
by Nekhelesh Ramananthan
Updated README.developers with instructions to build and run on utopic desktop |
1 |
Building and running on Utopic Desktop (14.10)
|
2 |
==============================================
|
|
3 |
||
4 |
1. Branch the code as usual and navigate to it.
|
|
5 |
bzr branch lp:ubuntu-clock-app/reboot && cd reboot |
|
6 |
2. Create a build dir and navigate to it.
|
|
7 |
mkdir builddir && cd builddir |
|
8 |
3. Build the clock app
|
|
9 |
cmake .. && make |
|
10 |
4. Run the clock app
|
|
11 |
QML2_IMPORT_PATH=backend/ qmlscene ../app/ubuntu-clock-app.qml |
|
12 |
||
5.1.1
by Nekhelesh Ramananthan
Added readme documentation for prospective developers. Also added the copyright notice |
13 |
Code Style
|
14 |
==========
|
|
15 |
||
16 |
We are trying to use a common code style throughout the code base to maintain |
|
17 |
uniformity and improve code clarity. Listed below are the code styles guides |
|
18 |
that will be followed based on the language used. |
|
19 |
||
20 |
QML - http://qt-project.org/doc/qt-5/qml-codingconventions.html |
|
5.1.2
by Nekhelesh Ramananthan
Added note to the qml conventions |
21 |
JS, C++ - https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml |
5.1.1
by Nekhelesh Ramananthan
Added readme documentation for prospective developers. Also added the copyright notice |
22 |
Python - Code should follow PEP8 and Flake regulations |
5.1.2
by Nekhelesh Ramananthan
Added note to the qml conventions |
23 |
|
24 |
Note: In the QML code convention, ignore the Javascript code section guidelines. |
|
25 |
So the sections that should be taken into account in the QML conventions are QML |
|
26 |
Object Declarations, Grouped Properties and Lists. |
|
27 |
||
28 |