ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #14750
Re: compiling C/C++ applications for the BQ E4.5 (vivid)
El d�Friday, August 07, 2015 a las 02:23:52PM +0200, David Planella escribi�> Hi Matthias,
>
> The C++ plugin tutorial should get you started:
>
> https://developer.ubuntu.com/en/apps/qml/tutorials/add-cpp-backend-your-qml-app/
>
> You can check out the links at the beginning of the tutorial on how to set
> up Qt Creator for cross-compilation via a phone (armhf) kit.
>
> Let us know how it goes.
Hi David,
I used the SDK and created a simple C project; this created three files
below ~/telegram-cli:
ls -l telegram-cli
total 28
-rw-rw-r-- 1 guru guru 83 Aug 7 18:31 main.c
-rw-rw-r-- 1 guru guru 87 Aug 7 18:29 telegram-cli.pro
-rw-rw-r-- 1 guru guru 20078 Aug 7 18:29 telegram-cli.pro.user
the main.c is just a hello-world-main.c; I have all the three files here
if you want to check: http://www.unixarea.de/telegram-cli.tar
When I press in the SDK the "Build Project telegram-cli" button (lower
left corner with the hammer symbol) it says in the log window:
18:44:04: Running steps for project telegram-cli...
18:44:04: Starting: "/home/guru/.config/ubuntu-sdk/ubuntu-sdk-14.10-armhf/qt5-qmake-arm-linux-gnueabihf" /home/guru/telegram-cli/telegram-cli.pro -r -spec linux-g++ CONFIG+=debug
18:44:04: The process "/home/guru/.config/ubuntu-sdk/ubuntu-sdk-14.10-armhf/qt5-qmake-arm-linux-gnueabihf" exited with code 1.
Error while building/deploying project telegram-cli (kit: UbuntuSDK for
armhf (GCC ubuntu-sdk-14.10-utopic))
When executing step 'qmake'
18:44:04: Elapsed time: 00:00.
What have I done wrong or missed?
Later, with the real software I just want to run something like:
$ git ...
$ cd telegram-cli
$ ./configure ...
$ gmake
This is what I'm used to use to build software.
Thanks for a helping hand.
matthias
--
Matthias Apitz | /"\ ASCII Ribbon Campaign:
E-mail: guru@xxxxxxxxxxx | \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ | X - No proprietary attachments
phone: +49-176-38902045 | / \ - Respect for open standards
| en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
Follow ups
References