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

Dmitry Shachnev mitya57 at ubuntu.com
Tue Jan 28 14:19:06 GMT 2014


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).

--
Dmitry Shachnev


More information about the PyQt mailing list