[PyQt] Workaround / fix for "could not create shader" issue with QtQuick on linux (causes all QtQuick examples to fail)

Phil Thompson phil at riverbankcomputing.com
Tue Jan 28 14:27:18 GMT 2014


On 28-01-2014 2:19 pm, Dmitry Shachnev wrote:
> On Tue, Jan 28, 2014 at 2:16 PM, Phil Thompson
> <phil at riverbankcomputing.com> wrote:
>> It might be interesting to see the same information for a working 
>> C++
>> version - particularly to see if libdbus is loaded.
>>
>> It suggests that Nvidia has a dependency on DBus, that PyOpenGL 
>> satisfies
>> that dependency, but PyQt doesn't.
>>
>> Qt can be built with the DBus support dynamically linked or 
>> dynamically
>> loaded (ie. with dlopen()). I'd be curious to know if that is a 
>> factor.
>
> Here is a list of Qt libraries that are linked against dbus (based on
> ldd call):
>
> libdbus-1.so.3 /usr/lib/i386-linux-gnu/libQt5DBus.so.5
> libdbus-1.so.3 /usr/lib/i386-linux-gnu/libQt5Multimedia.so.5
> libdbus-1.so.3 /usr/lib/i386-linux-gnu/libQt5MultimediaWidgets.so.5
>
> I.e. libQt5Core.so.5 is *not* linked against dbus (I believe this is
> default upstream behavior).

Given the C++ version does load libdbus (not necessarily linked against 
it) is it possible to find out where the dependency happens?

Phil


More information about the PyQt mailing list