添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Hi I’m using gtkmm 4, which I built using jhbuild.
My app has custom icons which are Gtk::Image objects which loads png files.
When launched on a 4K screen the icons seem too small, for this reason I tried loading svg files.
AFter reading this textures and paintables – GTK Development Blog
I tried loading the svg file using Gtk::Picture::set_filename() but the image was not visible.

I also tried loading the svg files using Gdk::Pixbuf and got exception, so I called gdk_pixbuf_get_formats() and saw that svg is not among the supported formats.
Do I need to rebuild the gtkmm library for svg support?