You are not logged in.
My app needs to draw svg. In detail QIcon needs draws svgs. QIcon is in the QtGui module, which is in the qt5-base package. For svgs to work I just hat to install qt5-svg. So somehow qt5-svg should be an optional dependency of qt5-base imho.
But qt5-svg depends on qt5-base which would form a cycle. Is that a problem?
Last edited by manuelschneid3r (2015-03-25 13:51:54)
Please feel free to correct my english.
Offline
Hell no this has to be a hard dependency just because EVERY Linux theme uses scalable icons in form of svg . This missing dependency arised a lot of problems for me ( https://bugreports.qt.io/browse/QTBUG-42239 , https://bbs.archlinux.org/viewtopic.php?id=195122). Please sombody inform the packager of this problem, or how can I?
Last edited by manuelschneid3r (2015-03-24 18:24:23)
Please feel free to correct my english.
Offline
It can't be a hard dependency because that would form a cycle, as you said.
Offline
qt5-svg added as an optdepend of qt5-base in trunk.
PGP key: 30D7CB92
Key fingerprint: B597 1F2C 5C10 A9A0 8C60 030F 786C 63F3 30D7 CB92
Offline
Really, I am not satisfied with that. The sole purpose of a pacman is to pull the correct dendencies. Svg is integral part of any linux desktop and since this package is for linux only, this should definitively be a hard dependency. (meanwhile i'm pretty sure pacman is capable of handling cycles). Cool that qt split it up, since windoze does not alway need svg support, but in linuxland things are different.
Another baad example a few years ago: Installing kde did not pull xserver. Really?
Last edited by manuelschneid3r (2015-03-25 13:55:46)
Please feel free to correct my english.
Offline
Another baad example a few years ago: Installing kde did not pull xserver. Really?
Well, the X server doesn't have to run locally, so, yes, really. Just because most people want both on the same system doesn't mean it has to be a hard dependency for everybody (and with wayland I suppose the X client libraries could also become optional).
I think the same applies here. You need svg, so you install it. Somebody else doesn't need it, they can leave it uninstalled. No need to force your setup on other people, but it should be mentioned somewhere. The optdepends is a good step; you can also add a note to the wiki.
(And if there are apps or themes specifically for Qt5 that use svg, they should have qt5-svg as a dependency.)
Offline