From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MM2cJ-0005Gf-8a for garchives@archives.gentoo.org; Wed, 01 Jul 2009 16:25:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A9D7E08A6; Wed, 1 Jul 2009 16:25:02 +0000 (UTC) Received: from mail-pz0-f177.google.com (mail-pz0-f177.google.com [209.85.222.177]) by pigeon.gentoo.org (Postfix) with ESMTP id 1B740E08A6 for ; Wed, 1 Jul 2009 16:25:02 +0000 (UTC) Received: by pzk7 with SMTP id 7so605290pzk.32 for ; Wed, 01 Jul 2009 09:25:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=OeEPQdCsJdXplON0JtBeN48oDtQlXW22ShhF31arl5o=; b=QMUzMb9XSRO/jBeYqKa2MPocifaTFZyHJkoP+SUTxfvqj1G91+/Q26DyB0b/DJZT0s qJOVEYpv56paB2um7pPr5WoYCxREQ339V1Kb+uvWBoGLqmv4frqOvPYsmsvQ/8ikF40Y 009wHNmX2O6+44edPm5zieeHDFTI45+QegJhw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=WkUJug9TLMHDqBPSgmP33e/RXPNTGIBFZF6xsHQNHOviybQTXHq6mjkKgKMJgKqV6o KZ/y/g1Or2mIixphDxIGE77Vl60GG8zhdtXdr23NBDGpFj6erJwIrXVs7ZD8L4D1CF8i 0qRq3SgmjFIFFAomRIcxaSG8SYaUS5P6aNF34= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Sender: paul.hartman@gmail.com Received: by 10.140.226.13 with SMTP id y13mr2213939rvg.158.1246465501556; Wed, 01 Jul 2009 09:25:01 -0700 (PDT) In-Reply-To: <58965d8a0906290747p42dee2adi1532f3ddb034ac21@mail.gmail.com> References: <356A300C-BF26-4F6F-B00C-6BF6DE62142A@wright.org> <58965d8a0906290747p42dee2adi1532f3ddb034ac21@mail.gmail.com> Date: Wed, 1 Jul 2009 11:25:01 -0500 X-Google-Sender-Auth: 0f9062155b7cef50 Message-ID: <58965d8a0907010925o91b9f98v97a56f707da0b764@mail.gmail.com> Subject: Re: [gentoo-user] finding qt plugins? From: Paul Hartman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 3f27fd4c-b199-46d7-bd46-93b183384b58 X-Archives-Hash: a0c780984763b81f898c291b888c353e On Mon, Jun 29, 2009 at 9:47 AM, Paul Hartman wrote: > On Mon, Jun 29, 2009 at 12:04 AM, Roy Wright wrote: >> Howdy, >> >> 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? > > From a couple minutes of poking around: > > strings /usr/lib/qt4/libQtCore.so | grep Build.key > > strings some-other-file | grep buildkey > > Which comes back with seemingly everything build against Qt4... But I > don't know how to tell which ones qualify as a "plug-in"... > > Typically when I rebuild Qt4 I also rebuild kdelibs, PyQt4, and my > themes... in my case that is gtk-engines-kde4, gtk-engines-qt, and all > qtcurve packages. Seems to work for me. > After a little more research, it looks like Qt maintains its own version-specific plug-in cache that lists the plugins and the build keys in the ~/.config/Trolltech.conf file (which appears to be an INI-style format). More info about accessing it via Qt here http://doc.trolltech.com/4.5/qsettings.html