Getting QT apps running.

Oliver Grawert ogra at ubuntu.com
Fri Jul 29 09:40:04 UTC 2016


Am Freitag, den 29.07.2016, 11:32 +0200 schrieb Dietmar Winkler:
> Hi,
> 
> I'm not sure if this will help. According to the output it _is_
> already looking at the right place.
> 
> > no file '/share/ipe/7.2.5/lua/main.lua'
> 
> but
> 
> $ tree /snap/ipe/current/share/ipe/7.2.5/lua/
> /snap/ipe/current/share/ipe/7.2.5/lua/
> ├── actions.lua
> ├── editpath.lua
> ├── main.lua
> ...
> 

well, it looks in /share, not in /snap ....

try this:
---
#! /bin/sh

export IPELUAPATH=$SNAP/share/ipe/7.2.5/lua

exec $SNAP/bin/ipe
---

save it as wrapper.sh (make it executable), add a copy plugin part to
your snapcraft.yaml that copies it in the toplevel of your snap
and change:
https://github.com/dietmarw/snaps/blob/master/ipe/snapcraft.yaml#L52
to read:

    command: desktop-launch wrapper.sh

if needed also set the other variables to their proper paths ...

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160729/21ccf32a/attachment.sig>


More information about the Snapcraft mailing list