Install qt6-svg with PySide6: without Qt's SVG plugin the app's logo doesn't show

This commit is contained in:
theupriser committed 2026-10-15 20:40:26 +02:00
1 parent 0c46b209b9
commit 7b751ab726
4 files changed
+11 -4

No files matched your search

+2
View File
@@ -30,6 +30,8 @@ notify_enable() {
info "Adding update notifications..."
# PySide6 for the tray icon, notify-send for the notification's buttons.
python3 -c 'import PySide6.QtWidgets' 2>/dev/null || missing+=(pyside6)
# (Its icons are SVGs, and Qt needs its SVG plugin for those.)
pacman -Q qt6-svg >/dev/null 2>&1 || missing+=(qt6-svg)
command -v notify-send >/dev/null || missing+=(libnotify)
if ((${#missing[@]})); then
sudo pacman -S --needed --noconfirm "${missing[@]}" ||
+1 -1
View File
@@ -96,7 +96,7 @@ EOF
#!/bin/bash
# Installed by Steamify CachyOS: start the newest release of its app.
set -o pipefail
if [[ "\${1:-}" != --in-terminal ]] && ! python3 -c 'import PySide6.QtQml' 2>/dev/null; then
if [[ "\${1:-}" != --in-terminal ]] && { ! python3 -c 'import PySide6.QtQml' 2>/dev/null || ! pacman -Q qt6-svg >/dev/null 2>&1; }; then
exec $terminal "\$0" --in-terminal
fi
if ! curl -fsSL --max-time 30 "$WIZARD_APP_URL" | bash; then