I intended to create universal installer for distributing my qt5-based application on different Linux distributions. Currently I support building installation .deb packages than can be used on Ubuntu systems. But they can not be installed on plenty of Linux systems (e. g. RPM-based systems).
But recently snap packages support for all major Linuxes has been announced. I've tried some snapcraft examples and everything was good. But when I try to make snap packge for own qt-based application, snapcraft wizard can`t find all dependencies for it. Can someone explain me how does snapcraft investigate and gather all required dependencies for provided files?
What is the best way to include distribution-specific files (e. g. libraries like libicudata.so.55) to run my application as a portable software on different Linux distributions?