← Back to team overview

ubuntu-phone team mailing list archive

Re: Building C++ & QML app?

 

On Tuesday 24 September 2013 12:15:07 Sam Bull wrote:
> We seem to be having some trouble building our app. The instructions on
> the website say the easiest way is to build it on the phone using
> qmake/cmake. But, these are not working/installed on the phone.
> 
> Using qmake gives the error:
> jmake: could not exec '/usr/lib/arm-linux-gnueabihf/qt5/bin/qmake': No
> such file or directory
> While, make just gives the normal error:
> bash: make: command not found
> 
> And, of course, with a readonly image, I can't use APT to install
> anything.

You can make the image writable and apt-get stuff:

adb shell touch /userdata/.writable_image
adb shell reboot


Otherwise you can compile your stuff in a pbuilder environment and copy the 
binaries to the phone.


Br,
Michael


References