mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
documentation: update build instructions for various Debian/Ubuntu flavors
This was missing the Qt Quick Controls.2 needed for the mobile on desktop build and all the modules for actually running subsurface-mobile. Also, there was a white space inconsistency that I fixed while I was at it. And an outdated reference to ancient Fedora changes. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
48adaf5297
commit
19eb63d6ef
1 changed files with 32 additions and 10 deletions
28
INSTALL
28
INSTALL
|
@ -145,8 +145,6 @@ sudo dnf install autoconf automake bluez-libs-devel cmake gcc-c++ git \
|
|||
qt5-qtlocation-devel qt5-qtscript-devel qt5-qtsvg-devel \
|
||||
qt5-qttools-devel qt5-qtwebkit-devel redhat-rpm-config
|
||||
|
||||
Note that beginning with Fedora 22, you should be using the dnf command instead
|
||||
as yum is being deprecated.
|
||||
|
||||
Package names are sadly different on OpenSUSE
|
||||
|
||||
|
@ -169,6 +167,14 @@ sudo apt install \
|
|||
qtdeclarative5-private-dev qtlocation5-dev qtpositioning5-dev \
|
||||
qtscript5-dev qttools5-dev qttools5-dev-tools
|
||||
|
||||
In order to build and run mobile-on-desktop, you also need
|
||||
|
||||
sudo apt install \
|
||||
qtquickcontrols2-5-dev qml-module-qtquick-window2 qml-module-qtquick-dialogs \
|
||||
qml-module-qtquick-layouts qml-module-qtquick-controls2 qml-module-qtquick-templates2 \
|
||||
qml-module-qtgraphicaleffects qml-module-qtqml-models2 qml-module-qtquick-controls
|
||||
|
||||
|
||||
Package names for Ubuntu 20.04
|
||||
|
||||
sudo apt install \
|
||||
|
@ -179,7 +185,15 @@ sudo apt install \
|
|||
qml-module-qtlocation qml-module-qtpositioning qml-module-qtquick2 \
|
||||
qt5-default qt5-qmake qtchooser qtconnectivity5-dev qtdeclarative5-dev \
|
||||
qtdeclarative5-private-dev qtlocation5-dev qtpositioning5-dev \
|
||||
qtscript5-dev qttools5-dev qttools5-dev-tools qtquickcontrols2-5-dev
|
||||
qtscript5-dev qttools5-dev qttools5-dev-tools
|
||||
|
||||
In order to build and run mobile-on-desktop, you also need
|
||||
|
||||
sudo apt install \
|
||||
qtquickcontrols2-5-dev qml-module-qtquick-window2 qml-module-qtquick-dialogs \
|
||||
qml-module-qtquick-layouts qml-module-qtquick-controls2 qml-module-qtquick-templates2 \
|
||||
qml-module-qtgraphicaleffects qml-module-qtqml-models2 qml-module-qtquick-controls
|
||||
|
||||
|
||||
On Raspberry Pi (Raspian Buster and Ubuntu Mate 20.04.1) this seems to work
|
||||
|
||||
|
@ -193,6 +207,14 @@ sudo apt install \
|
|||
qtdeclarative5-private-dev qtlocation5-dev qtpositioning5-dev \
|
||||
qtscript5-dev qttools5-dev qttools5-dev-tools
|
||||
|
||||
In order to build and run mobile-on-desktop, you also need
|
||||
|
||||
sudo apt install \
|
||||
qtquickcontrols2-5-dev qml-module-qtquick-window2 qml-module-qtquick-dialogs \
|
||||
qml-module-qtquick-layouts qml-module-qtquick-controls2 qml-module-qtquick-templates2 \
|
||||
qml-module-qtgraphicaleffects qml-module-qtqml-models2 qml-module-qtquick-controls
|
||||
|
||||
|
||||
Note that on Ubuntu Mate on the Raspberry Pi, you may need to configure
|
||||
some swap space in order for the build to complete successfully. There is no
|
||||
swap space configured by default. See the dphys-swapfile package.
|
||||
|
|
Loading…
Reference in a new issue