Clone wiki

QMapShack / Ubuntu-18-HowTo

Prev (Compile Instructions for Ubuntu-14.04) | Home | Manual | Index | (Create Offline Documentation) Next

This installation guide is based on a fresh new installation of Ubuntu 18.04.

Initial build Routino and QMapShack

Create installation folder

Create a installation folder for all QMS data (ex. ~/GPS)

mkdir ~/GPS
cd ~/GPS

Installation of needed build packages

sudo apt-get install cmake build-essential subversion mercurial qt5-default qttools5-dev libqt5webkit5-dev qtscript5-dev qttools5-dev-tools libgdal-dev libproj-dev libghc-bzlib-dev libgraphics-magick-perl libquazip5-dev libqt5sql5-mysql gdal-bin qtwebengine5-dev

Initial build of Routino

svn co routino
cd routino
sudo make install
cd ..

Note: If you see an error message when starting QMapShack stating something like " ... routino lib not found ..." maybe you have to modify Makefile.conf. Change line 48 from prefix=/usr/local to prefix=/usr and rerun the building steps of Routino.

Update of Routino when something has changed in future

cd ~/GPS/routino
svn update
sudo make install

Initial build of QMapShack

hg clone QMapShack
mkdir build_QMapShack
cd build_QMapShack
cmake ../QMapShack
sudo make install

Update of QMapShack when something has changed in future

cd ~/GPS/QMapShack
hg pull
hg update
cd ../build_QMapShack
sudo make install

Start QMapShack


Setup development environment

To code at your own you can easily build a development environment by using "QtCreator" for coding, "TortoiseHg" for code management in relation with Bitbucket and "Diffuse" for code comparing inside TortoiseHg.

sudo apt-get install qtcreator tortoisehg diffuse

Note: In QtCreator you can add -jN in Project/Create/Steps/Details/Toolparammeter to speed up the compilation time. -jN specifies the number (N) of jobs to run simultaneously. You can start with -j2 and increase (-j3, -j4, ...) to the value of the optimal compilation speed depending on your CPU.

More information about developing of QMapShack will be found in chapter "Developing QMapShack" beginning here and here.

Prev (Compile Instructions for Ubuntu-14.04) | Home | Manual | Index | Top | (Create Offline Documentation) Next