Qt troubleshooting: Difference between revisions
From wikinotes
(Created page with "= Cannot mix incompatible Qt library (X.X.X) with this library (Y.Y.Y) = <blockquote> This could be <code>qt5-styleplugins</code>, try rebuilding/reinstalling. </blockquote><...") |
No edit summary |
||
Line 4: | Line 4: | ||
</blockquote><!-- Cannot mix incompatible Qt library (X.X.X) with this library (Y.Y.Y) --> | </blockquote><!-- Cannot mix incompatible Qt library (X.X.X) with this library (Y.Y.Y) --> | ||
= Reinstall older qt lib = | |||
<blockquote> | |||
Maybe not all of your applications use the new one yet.<br> | |||
here's a one liner to target them. | |||
<syntaxhighlight lang="bash"> | |||
# identify/install the latest version under 5.15.10 for every qt lib | |||
for f in `ls qt5-*-5.15.10*.tar.zst | sed -E 's/(qt5-[^-]+).*/\1/' | sort | uniq`; do | |||
sudo pacman -U $(ls $f-5.15.10*.tar.zst | sort | tail -n 1) | |||
done | |||
</syntaxhighlight> | |||
</blockquote><!-- Reinstall older qt lib --> |
Latest revision as of 23:42, 26 October 2023
Cannot mix incompatible Qt library (X.X.X) with this library (Y.Y.Y)
This could be
qt5-styleplugins
, try rebuilding/reinstalling.
Reinstall older qt lib
Maybe not all of your applications use the new one yet.
here's a one liner to target them.# identify/install the latest version under 5.15.10 for every qt lib for f in `ls qt5-*-5.15.10*.tar.zst | sed -E 's/(qt5-[^-]+).*/\1/' | sort | uniq`; do sudo pacman -U $(ls $f-5.15.10*.tar.zst | sort | tail -n 1) done