Remove all qt5 from the system

i have lot of qt5 packages
i tried to remove qt5 base but it tells me that vlc needs it
so i tried to remove vlc then it tells me that this package need it: phonon-qt6-vlc
i tried to remove it but it tells me that: removing phonon-qt6-vlc breaks dependency ‘phonon-qt6-backend’ required by phonon-qt6
if i try to remove phonon-qt6 it tells me:
:: removing phonon-qt6 breaks dependency ‘phonon-qt6’ required by dolphin
:: removing phonon-qt6 breaks dependency ‘phonon-qt6’ required by gwenview
:: removing phonon-qt6 breaks dependency ‘phonon-qt6’ required by kio-extras
:: removing phonon-qt6 breaks dependency ‘phonon-qt6’ required by mailcommon
:: removing phonon-qt6 breaks dependency ‘phonon-qt6’ required by marble-common
:: removing phonon-qt6 breaks dependency ‘phonon-qt6’ required by okular
:: removing phonon-qt6 breaks dependency ‘phonon-qt6’ required by plasma-workspace

how to solve this?

Why are you trying to remove qt5 packages? Are they causing issues? And yes, some apps require qt5 packages.

5 Likes

If it’s just a matter of uninstalling VLC, do the following:

Uninstall VLC on Plasma 6 (phonon-qt6-vlc dependency):

=> First install phonon-qt6-mpv: yay phonon-qt6-mpv

=> Then uninstall phonon-qt6-vlc: sudo pacman -R phonon-qt6-vlc

=> After uninstalling phonon-qt6-vlc, then uninstall vlc: sudo pacman -R vlc

=> rm --recursive ~/.config/vlc

=> rm --recursive ~/.local/share/vlc

=> Restart

1 Like

when i try to build some softwares with qt6 i see that the qt version is 5 even i try to cahnge it with: export QT_SELECT=qt6
qmake --version always shows qt 5.15 which is old
so i think if i could dispense all the packages with qt5