Cannot mix incompatible Qt library

情況

執行

pcmanfm-qt

顯示

Cannot mix incompatible Qt library (5.15.5) with this library (5.15.6)
Aborted (core dumped)

或是在「系統更新」時,出現如下的資訊

(4/6) Qt5 Upgrade Warning
[WARNING] qt5-base was updated, qt5 applications will break until qt5-styleplugins is rebuilt.

解法

先移除「qt5-styleplugins」

sudo pacman -R qt5-styleplugins

重新編譯,重新安裝「qt5-styleplugins

透過「yay」,重新編譯,重新安裝

yay -Sy --needed qt5-styleplugins

或是透過「pamac」,重新編譯,重新安裝

sudo pamac build qt5-styleplugins

Check

執行下面指令

pacman -Qm | grep ^qt5

或是執行下面指令

pacman -Qm | grep qt5

類似顯示如下

qt5-styleplugins 5.0.0.20170311-34