[Qt5-feedback] Fwd: Re: Qt major versions
Konstantin Tokarev
annulen at yandex.ru
Wed Jun 8 12:22:47 CEST 2011
08.06.2011, 14:11, "Thiago Macieira" <thiago at kde.org>:
> On Wednesday, 8 de June de 2011 08:50:55 Till Oliver Knoll wrote:
>
>> Ok, now I get it: And this style plugin, located somewhere on the system,
>> also depends on Qt, and not being aware of the "bundled Qt" (inside the
>> application folder) it also pulls *another* instance - the Qt libs located
>> on the system - into the adress space.
>>
>> And there you go, your application and all its Qt plugins it loaded are now
>> linked to two Qt "instances" - maybe the same version, but most likely even
>> different versions.
>
> Right. If that happens, pray that the consequence is one of these two:
>
> 1) undefined symbol QObjectPrivate::checkWindowRole() [a symbol added by the
> KDE-Qt patch 0180, a new virtual in QObjectPrivate, which is not present in
> the standard Qt]
>
> 2) "Cannot mix incompatible Qt library (version 0x%x) with this library
> (version 0x%x)"
>
> Those two actually stop the application dead in its tracks. It's clear there's
> a problem. So pray you have them, because the alternative is that it
> continues, starts to corrupt memory and do funky stuff that you can't detect.
Is it enough to set style explicitly to get rid of platform plugin?
--
Regards,
Konstantin
More information about the Qt5-feedback
mailing list