← Back to team overview

ubuntu-phone team mailing list archive

[Developement][SDK]: My qmake experience with the SDK: a story of pain and terror.

 

Hi all,
this want to be my feedback about my experience with qmake and the Ubuntu SDK.
As the title could suggest, I hadn't good times: I don't know if it's
due lack of documentation, or there is something wrong in the SDK, or
whatever. But certainly something has to improve.

For those who don't know me, I'm a long time core app developer, and
in my free time I also developed a couple of apps. I'm saying this
just to evidence I'm not new to Ubuntu world, and before writing this
mail I spent a lot of times trying to figure what's wrong.

Let's talk about the topic: qmake.
I've an app (100balls[0]) which uses an external plugin (Bacon2D[1])
and I use qmake to have all working together.

Since the game is stable enough, I don't do more than one release per
month, and every time I try to do a release I've to spend 2/3 days to
create a click package because chroot doesn't work.

Last time I did a release (last week of Feb, IIRC) I was on vivid (and
I'm still on it) and I used a 15.04 chroot. To have chroot working I
had to add the sdk ppa (seriously, I need a PPA on an unstable
version?).

This time the *same* chroot doesn't work anymore. It creates the click
package without any error, but then the app doesn't start on the phone
because it doesn't find the Bacon2D module.

When I do "Maintain" on the chroot and try to launch QMake I've this error:

 (click-ubuntu-sdk-15.04-armhf)root@artemis:/home/rpadovani# qmake
qmake: could not find a Qt installation of ''

I also tried with a new chroot, but I've the same issue.

I don't know if it's a problem of mine, an sdk problem, a lack of
documentation or whatever.
But it's annoying to have to spend more time trying to have a working
chroot than writing code.

Regards,
R.


[0]:https://github.com/rpadovani/100balls
[1]:https://github.com/Bacon2D/Bacon2D
-- 
Riccardo Padovani <rpadovani@xxxxxxxxxx>
www.rpadovani.com


Follow ups