Hi, thanks. That let me start the app ... almost. I'm now getting:
$ ipe Qt: Session management error: None of the authentication protocols specified are supported QGtkStyle could not resolve GTK. Make sure you have installed the proper libraries. [string "require "main""]:1: module 'main' not found: no field package.preload['main'] no file '../../../install/share/ipe/7.2.5/lua/main.lua' no file '/usr/local/lib/lua/5.2/main.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.2/main.so' no file '/usr/lib/lua/5.2/main.so' no file '/usr/local/lib/lua/5.2/loadall.so' no file './main.so' stack traceback: [C]: in function 'require' [string "require "main""]:1: in main chunk On 28 July 2016 at 20:21, Kyle Fazzari <kyle.fazz...@canonical.com> wrote: > On 07/28/2016 11:05 AM, Dietmar Winkler wrote: >> Hi, >> >> when trying to run this "ipe" qt app I got the error message: >> $ ipe >> This application failed to start because it could not find or load the >> Qt platform plugin "xcb". >> >> I found out that I need to include the libqt5gui5 package as stage >> package (just like in the hello-world-desktop example, But even though >> I added it to my yaml file I still get the same error message. >> >> https://github.com/dietmarw/snaps/blob/master/ipe/snapcraft.yaml#L44 >> (I'm actually not sure if I really need the "after: [qt5conf]" part.) >> >> So what else am I missing? > > The problem is that your application isn't looking in the right place > for the platform plugins. That's where the qt5conf part comes in handy-- > it includes a launcher script to set that environment for you. > > You need to use the launcher from the qt5conf part in order to launch > the app. > > apps: > ipe: > command: bin/ipe > > Needs to be: > > apps: > ipe: > command: qt5-launch bin/ipe > > And so on. > > -- > Kyle Fazzari (kyrofa) > Software Engineer > Canonical Ltd. > k...@canonical.com > > > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/snapcraft > -- Dietmar Winkler, Assistant professor University College of Southeast Norway Faculty of Technology Campus: Porsgrunn http://me.dwe.no Kjølnes ring 56, 3918 Porsgrunn, Norway -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft