<p dir="ltr">I have a patch for this but it was not accepted upstream:</p>
<p dir="ltr"><a href="https://codereview.qt-project.org/82702">https://codereview.qt-project.org/82702</a></p>
<p dir="ltr">Can you use absolute path to qmlscene? Or, better, to qml (which is a successor to qmlscene)?</p>
<p dir="ltr">--<br>
Dmitry Shachnev</p>
<div class="gmail_quote">Am 23.06.2014 18:23 schrieb "Sebastien Bacher" <<a href="mailto:seb128@ubuntu.com">seb128@ubuntu.com</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey,<br>
<br>
Not sure if that has been discussed before, but current "qmlscene"<br>
doesn't work on our default installation.<br>
<br>
Just as an example; taking a trusty iso, enabling universe and<br>
installing ubuntu-ui-toolkit-examples leads to a non working gallery<br>
desktop entry ... the command is a qmlscene one, and running "qmlscene"<br>
returns an error about "/usr/lib/<...>/qt4/qmlscene" not existing. It's<br>
not because that binary is using qt5.<br>
<br>
That issue also leads to click packages to fail to run on the<br>
unity8-desktop iso, and I'm trying to see what's the right way to<br>
resolve it...<br>
<br>
I've discussed the topic a bit on IRC and the advices/replies include:<br>
- qmlscene is a dev tools and shouldn't be used by those applications<br>
- you should change the environment/export a variable to make qt5 the<br>
default (seems to be what ubuntu-touch does)<br>
- install qt5-default ... but that would bring some extra 50MB on the iso<br>
<br>
We could make unity8-desktop-session export the environment variable<br>
needed to have qt5 default, but that's a workaround and would mean those<br>
are still buggy.<br>
<br>
Is there any reason qtchooser doesn't check for available versions, and<br>
always prefer an installed one to the default if that one is not<br>
available? It feels like that would be the right way to handle the<br>
issue, but I might be overlooking something...<br>
<br>
One issue I can see, is that it would not resolve the case where qt4<br>
binaries are installed but the application is a qt5 ... maybe it's a bug<br>
in the packaging of those applications and they should reference the qt5<br>
binary rather than qtchooser un-versionned command?<br>
<br>
Opinions?<br>
<br>
Cheers,<br>
Sebastien Bacher<br>
<br>
<br>
<br>
--<br>
ubuntu-devel mailing list<br>
<a href="mailto:ubuntu-devel@lists.ubuntu.com">ubuntu-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel</a><br>
</blockquote></div>