When I make an appimage of my simple gtk4 application and run it on certain distros like fedora the svg icons don't render properly. It looks like this: https://i.imgur.com/3cKKkjx.png
The basic code for loading them is:
GtkIconTheme *theme = gtk_icon_theme_get_for_display(gdk_display_get_default());
gtk_icon_theme_add_search_path(theme, "data/icons/");
This repo contains the compiled executable and appimage together with the bundled libraries: https://github.com/zagortenay333/temp
And here is the source code: https://github.com/zagortenay333/kronomi
I tried both using the custom icons from a directory as well bundling them as a gresource.
Again, it renders correctly on ubuntu based distros but not fedora and manjaro for instance.