On 06/29/2009 08:04 AM, Roy Wright wrote:
On ~x86 did the upgrade to qt 4.5.2 and get the following message:
"After a rebuild or upgrade of Qt, it can happen that Qt plugins (such
as Qt
and KDE styles and widgets) can no longer be loaded. In this situation you
should recompile the packages providing these plugins...
"Packages that typically need to be recompiled are kdelibs from KDE4, any
additional KDE4/Qt4 styles, qscintilla and PyQt4..."
Then followed the link on the plugins which stated:
"The Qt library and all plugins are built using a build key. The build
key in the Qt library is examined against the build key in the plugin,
and if they match, the plugin is loaded. If the build keys do not match,
then the Qt library refuses to load the plugin."
So how do I find all the installed qt plugins on my system and check
their build keys?
You can obtain a list of packages that might depend upon any Qt 4
package with:
for p in `qlist -IC x11-libs/qt:4`; do equery -q depends "$p"; done |
sort | uniq
This command can take several minutes to complete. Of course not every
one of those packages needs to be rebuilt, but it makes it easier to
pick some by hand. Usually though, it's not necessary to rebuild
anything, especially during minor updates (like from Qt 4.5.1 to 4.5.2).