Closed b100dian closed 3 years ago
Here's what I got so far, maybe worth a readme update:
The build commands need to be issues on the build VM through sb2
.
To get into the build machine (if started by Sailifsh IDE)
ssh -l mersdk localhost -p 2222 -i ~/SailfishOS/vmshare/ssh/private_keys/engine/mersdk
There, you use the sb2
command to set one of the arm targets as default.
Next, you issue commands like qmake
as sb2 qmake
The commands requiring root like sb2 -R make install
You need to add this repo sb2 -R zypper ar http://repo.merproject.org/obs/home:/piggz:/kf5/sailfishos_3.4.0.24/ piggz
and sb2 -R zypper refresh
To install missing packages, as pointed out by build errors, use sb2 -R zypper in mkcal-qt5-devel
Docs updated, thanks
I am not sure where qmake and make need to be run for developing on sailfish. (that imples also where to install the dependencies).
Is it the host OS or the build VM? (SB2?)
For both my archlinux host and the SF build VM, I get:
at make.
Also how come
How would installing dependencies on the host machine help? Are these instructions to build the x86 binary?