> libqt4-svg is indeed not added automatically to texstudio's
dependencies in ubuntu. That seems strange to me because in Debian the
dependecy on libqt4-svg is automatically detected and added.

The reason is that Ubuntu uses --as-needed linking by default, while
Debian is not. The Debian build log has:

dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/texstudio/usr/bin/texstudio was not linked against libQtSvg.so.4
(it uses none of the library's symbols)

> It doesn't feel right to just add the dependency manually, the problem
might affect other packages as well.

TexStudio is not using Qt SVG library directly (i.e. it is not linked
against it), however that library is needed if the user has SVG-only
icon theme. That is true for any Qt application, not just TexStudio.
Thus, you don't need Depends (because package will work without it on
PNG icon themes), but you can add Recommends or Suggests.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1332508

Title:
  Missing libqt4-svg package dependency for texstudio

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/texstudio/+bug/1332508/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to