SVG icons are not rendered in Qt application (qTox)

  • Open
  • quality assurance status badge
Details
One participant
  • Andrew Tropin
Owner
unassigned
Submitted by
Andrew Tropin
Severity
normal
A
A
Andrew Tropin wrote on 13 Mar 2022 11:44
(address . bug-guix@gnu.org)
874k426siv.fsf@trop.in
In qTox some icons inside interaface are not rendered.

The log contains a lot of related warnings:

Toggle snippet (8 lines)
AL lib: (WW) Querying error state on null context (implicitly 0xa004)
[10:09:16.339 UTC] nexus.cpp:86 : Debug: Starting up
[10:09:16.539 UTC] persistence/profile.cpp:318 : Debug: Self avatar not found, will broadcast empty avatar to friends
[10:09:16.577 UTC] :0 : Warning: Could not create pixmap from /home/bob/.local/share/qTox/themes/default/chatForm/callButton.svg
[10:09:16.578 UTC] :0 : Warning: Could not create pixmap from /home/bob/.local/share/qTox/themes/default/chatForm/callButton.svg
[10:09:16.578 UTC] :0 : Warning: Could not create pixmap from /home/bob/.local/share/qTox/themes/default/chatForm/videoButton.svg

I copied and used a theme from qtox repository instead of built-in to
make sure that files are valid SVGs, but it doesn't matter. Also, built
a latest qtox release, same issue here.

Reported it to qTox, but it seems the problem is related to qt or qtsvg.

--
Best regards,
Andrew Tropin
-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmItyxgPHGFuZHJld0B0
cm9wLmluAAoJECII0glYwd6wN4oP/i4Lt1PccTehQhrO4o/Pu8CwoCUSU494Rm/R
0iLAFx7IgrqvlUzeynOM0qaWS0vDlV/aM04nqc8/unA3jtZsNCs1UVvBDv6vZP08
cNfFah+LzByyXEA/NsbmXGo1bZjWymOa7sXE0rDHED6ZNZ+KMa7nF/EvpBAzqt7u
w1Tv/jk00eBybbUz+9SOcFfkHlFDLzoTqWHt5/7UsJShsI5uWylK8ZrxADJ4337z
lsAcFP3HJ3AaOxve895TlUHw4OoKv1SXVip1cs98RelQ3hZ6LrxffL6unCPC6VFN
2Nh97G1I9Hhgi4YdRwjuiIaBxO9FgS0v9M1/FBiKXdLzt9oCYAkLl0MOSL1Z70+C
ZGbvLU/eKmsoQTdSQHYuPeeyGv8hFnjKY2kJ1Od5PSCptW6OpFptir56KRtrr6+h
0nR4MH0IOmQEJ1KSa3fNYe0Tp4ol/h2t/uwjGtFqQd0qO40tkSjkSl6EOzwJObod
DRxz2kSVUAprCcaAcuntWDtWhgKRQoKjPbk08t5HGAa4EhMSk1e0KGu/hxn2wkgh
CZQRyDRGvKRkX6SBYDF+l41DqaIajTKFA/yswc5OaAyDSnMt9V4m1lYypmIxA5DV
K32S+ZbX5SN5h8XTu6AoHyVn4z5bz9s1ttJLACssflQRxui/3KxCBFqM6Nks7i0u
4bYvuXYk
=Ey2L
-----END PGP SIGNATURE-----

?