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
|
Dependencies
============
**DEPENDENCIES ARE NEEDED TO BE INSTALLED TO BUILD AND RUN THE APP**
A complete list of dependencies for the project can be found in ubuntu-docviewer-app/debian/control
The following essential packages are also required to develop this app:
* [ubuntu-sdk](http://developer.ubuntu.com/start)
* intltool - run `sudo apt-get install intltool`
Compiling
=========
**A working internet connection is required in order to build the project. A number of Debian packages are downloaded when the project is loaded the first times**
* Install poppler's development files:
sudo apt install libpoppler-qt5-dev
* Install Qt5 private development files:
sudo apt install qtdeclarative5-private-dev qtbase5-private-dev
* If you want to compile an arm click package, you need to install that package
to the arm compilation environment. For example when using QtCreator for
Ubuntu Touch, open Options -> Ubuntu -> Maintain, and then enter:
apt install libpoppler-qt5-dev:armhf qtdeclarative5-private-dev:armhf qtbase5-private-dev:armhf
LibreOffice viewer support
==========================
* If you want to enable the LibreOffice viewer feature, you'll need to have a
LibreOffice 5.0 installation on your development environment.
To do so, type the following commands on a terminal:
sudo apt-get purge libreoffice-core
sudo add-apt-repository ppa:libreoffice/libreoffice-5-0
sudo apt-get update
sudo apt-get install libreoffice
* Then to compile the LibreOffice viewer plugin you'll simply need to install
the LibreOffice Kit development files:
sudo apt install libreofficekit-dev
|