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
- intltool - run
sudo apt-get install intltool
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
-
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