Running Qt/QML applications on latest Snappy

Darren Landoll darren.landoll at gmail.com
Sat Oct 10 18:56:20 UTC 2015


I've been working with the latest versions of Snappy core and Mir to try
getting a Qt/QML application running successfully. Not sure if this list or
mir-devel is the best place for this topic, so starting here first.

I am building the amd64 oem and mir snaps and then running
ubuntu-device-flash to create either a stable or edge based image for 15.04
(in developer mode).

For initial testing I am using deb2snap to build a snap for the qt5
declarative clocks example, based on this guide:
https://docs.google.com/document/d/14msTXe_cFulk9z4jFptEjFJzZx58b1mWU_r4VivLkfA/edit?pli=1

The target device is a x86_64 based touchscreen and I am currently booting
my test images from a USB stick. The machine boots up successfully and
displays the empty/default mir server (w/ mouse cursor). When I install and
try to run the QML clocks example, I get the error shown below. Any ideas
or feedback would be appreciated.


$ qtdeclarative5-examples-amd64.clocks
Loading module: 'libubuntu_application_api_desktop_mirclient.so.2.9.0'
[1444485571.860493] Loader: Loading modules from:
/apps/mir/current/debs/usr/lib/x86_64-linux-gnu/mir/client-platform
[1444485571.861038] Loader: Loading module:
/apps/mir/current/debs/usr/lib/x86_64-linux-gnu/mir/client-platform/mesa.so.2
Fontconfig error: Cannot load default config file
UbuntuWindow - regular geometry
terminate called after throwing an instance of
'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error>
>'
  what():  Unexpectedly received fds
Aborted


Thanks!

Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20151010/0504f06f/attachment.html>


More information about the snappy-app-devel mailing list