Merge lp:~ahayzen/qtubuntu-print/add-readme into lp:qtubuntu-print

Proposed by Andrew Hayzen
Status: Merged
Approved by: Michael Sheldon
Approved revision: 34
Merged at revision: 4
Proposed branch: lp:~ahayzen/qtubuntu-print/add-readme
Merge into: lp:qtubuntu-print
Prerequisite: lp:~ahayzen/qtubuntu-print/add-unit-tests
Diff against target: 58 lines (+54/-0)
1 file modified
README.md (+54/-0)
To merge this branch: bzr merge lp:~ahayzen/qtubuntu-print/add-readme
Reviewer Review Type Date Requested Status
Michael Sheldon (community) Approve
Review via email: mp+317790@code.launchpad.net

Commit message

* Add a readme

Description of the change

* Add a readme

To post a comment you must log in.
Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

Couple of small suggestions included as diff comments

30. By Andrew Hayzen

* Change build example to be an out-of-tree build
* Fix comments for grammar errors

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

1) Should this say "sends it over content-hub"?

Yep, fixed it :-)

2) Might be better to give an example of an out of tree build as these are normally preferred

Good idea, fixed.

I also noticed "simple invoke cmake" should have been "simply invoke cmake".

Thanks, please re-review :-)

31. By Andrew Hayzen

* Pull of upstream fix for missing depends

32. By Andrew Hayzen

* Pull of upstream removal of qt5-default and using -qt=qt5

33. By Andrew Hayzen

* Pull of upstream

34. By Andrew Hayzen

* Fix for typo

Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

Looks good, approved :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'README.md'
2--- README.md 1970-01-01 00:00:00 +0000
3+++ README.md 2017-02-21 14:38:41 +0000
4@@ -0,0 +1,54 @@
5+qtubuntu-print is a plugin to the printing system of Qt.
6+It generates a PDF document and sends it over content-hub
7+to a destination application.
8+
9+# Building
10+
11+The build system uses cmake.
12+To compile, simply invoke cmake and then make:
13+
14+```
15+mkdir build
16+cd build
17+cmake ../
18+make
19+```
20+
21+# Building a deb
22+
23+To build a deb package, invoke bzr builddeb:
24+
25+```
26+bzr builddeb
27+```
28+
29+# Installing
30+
31+To install the plugin on the system, invoke make install:
32+
33+```
34+sudo make install
35+```
36+
37+# Running
38+
39+qtubuntu-print is a plugin to the printing system of Qt.
40+To use qtubuntu-print with an application such as kate invoke the following:
41+
42+```
43+QT_PRINTER_MODULE=qtubuntu-print kate
44+```
45+
46+# Unit tests
47+
48+To run the unit tests, you can use the commands below:
49+
50+```
51+make test
52+```
53+
54+or
55+
56+```
57+ctest
58+```

Subscribers

People subscribed via source and target branches

to all changes: