← Back to team overview

ubuntu-phone team mailing list archive

Re: What's the right way to get "qmlscene" to work out of the box?

 

On Wed, Aug 13, 2014 at 9:14 AM, Benjamin Zeller
<benjamin.zeller@xxxxxxxxxxxxx> wrote:
>> A direction worth going towards in Ubuntu at least would be to get rid
>> of hard-coded 'qmlscene' calls. If eg. ubuntu-app-launch would be the
>> only place that launches apps, and it would know how to launch
>> QML-only apps (file.qml) by using a launcher instead of calling an
>> executable directly, then we could more easily switch between
>> launchers. It doesn't solve eg. the SDK Gallery problem on the desktop
>> before we have that alternative launcher, but it's a necessary step to
>> consider switching away to our own wrapper.
>
> This however would break our current solution to debug applications
> running on the phone, since I have to
> a) pass arguments to qmlscene to enable the qml debugger
> b) probably need to start gdbserver qmlscene main.qml if c++ backends are
> involved

Right. We could also simply do one-time MP:s for all QML-only apps to
switch to the new wrapper name, but then the name should be really
good so that we can keep it :)

Since we are using .desktop files at the moment, we would need
something executable specified on the "Exec" line anyway, were it
'qmlscene', 'uqmlscene' or 'ubuntu-app-launch', and not just the .qml
file name. I'm not sure if the plan is to keep continuing to use
.desktop files forever or not?

-Timo


Follow ups

References