When I try to start I see an error, does not find the plugin XCB.
Connect to plug-ins go through without errors sudo snap connect bsp095project:qt5qml qtlibraries:qt5qml
I assume that I have incorrectly path, can anyone tell me where I could be wrong?
Not sure if this is related to any of the problems but can you please ensure you prefix those with $SNAP. The prefix-less syntax was used in the initial and old version of snapd and may be rejected at some time in the future.
At the moment I’m trying in a same way to take Qt libraries into a separate snap package.
The same situation, connect have, but the plugins did not find.
This application failed to start because it could not find or load the Qt platform plugin "xcb".
Available platform plugins are: linuxfb, minimal, offscreen, xcb.
Reinstalling the application may fix this problem.
In fact, I have the same output like Blin.
Tell me, how do I understand when I write in snapkraft.yaml such a slot:
This means that there will be a name for the 5libs slot that will access the $SNAP/5.9.1/gcc_64/lib path
And is it connected, then we like to get access to the files that are stored in … /lib?
Then on the side of the snap package that you want to access this slot, you create plug-ins
I have never used the content interface before, so take this hint with a gain of salt, but i would expect if the interface is properly connected you should be able to run your consumer app like:
snap run --shell <appname>
that usually spawns a shell in the envirnoment the app sees when it is run, so there you should be able to see $SNAP/5libs/ (or $SNAP_DATA/5libs, not sure what the exact mountpoint is, as i said, i’m guessing )
@zyga-snapd You got a response to your question above some days ago. Not sure if you’ve exchanged further info about it elsewhere? Can you please update here with the details.
Also, this says “upcoming”, but nothing above hints about what would in fact be upcoming. We should probably avoid tagging topics for work until we can correctly identify what the work is, or at least what needs to be fixed.