deb2snap
deb2snap copied to clipboard
Hide selected paths from the system
If using this on Qt applications bundled together with a certain Qt version as as a snap, then the application may try to load the Qt from the sytem which does not match the Qt in the snap, resulting in errors like
Cannot mix incompatible Qt library (version 0x40807) with this library (version 0x40806)
Aborted
Is there a way to tell the preloaded library to NOT use (i.e., hide) certain files/directories (and their subdirectories) from the base system (e.g., /usr/lib/x86_64-linux-gnu/qt5/
)? I would basically like to pretend that this directory does not exist in the OS (only in the snap).
Something like
export SNAPPY_PRELOAD_HIDE="/usr/lib/x86_64-linux-gnu/qt5/:/usr/lib/x86_64-linux-gnu/qt4/"
Please let me know if my question is clear. Thanks!
I see what you're saying, but I don't really want to improve deb2snap any more than absolutely required, if that. It is wholly replaced by snapcraft these days.
It may not even work in the simple cases anymore? I haven't used it in a long time.
So this project is no longer in active development? Could you imagine releasing it under the permissive MIT license?
It's Canonical's copyright to change, not mine. Their policy is GPL3 unless good reason. I don't see why MIT would be more reasonable here.