ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #11602
Re: Manually deploying app to device
Hi Bogdan,
I was about to reply on G+ but then I saw this.
The Ubuntu SDK uses a cross-compilition toolchain which is installed in the
chroot. The gcc packages are called arm-linux-gnueabihf-* where * can for
example be gcc, g++ or ld.
You can then make CMake use these tools as explained in the CMake wiki. [1]
Essentially, you need to specify which compiler it should use using the
CMAKE_C_COMPILER and CMAKE_CXX_COMPILER flags.
Check out the link. Additionally, you can always have a look at the Ubuntu
SDK sources for the exact procedure.
Cheers,
Niklas
[1] http://www.cmake.org/Wiki/CMake_Cross_Compiling
2015-03-22 17:53 GMT+01:00 Bogdan Cuza <bogdan.cuza@xxxxxxxxxxx>:
> Hi!
>
> I am looking for a way to manually deploy apps to a device (without Qt
> Creator). As far as I understand, click just installs the already-built
> files. The problem is the C++ files need to be compiled for arm and linked
> with the arm versions of Qt accordingly, and I don't know how to do that.
> Could someone help me?
>
> P.S. My project is a cmake one, not qmake.
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References