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

Russell Warren russ at perspexis.com
Tue Jan 28 18:39:54 GMT 2014


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


The dependency is the very first system call made inside app.exec().  I
can't go any deeper at the moment.

I added some bogus file access attempts as markers and ran an strace.  The
relevant code marker:

    fp = fopen("/bogus9", "rb");
    return app.exec();

The relevant (unfiltered) strace output which shows the very first access
to libdbus:

open("/bogus9", O_RDONLY)               = -1 ENOENT (No such file or
directory)
open("/home/russ/Qt/5.2.0/gcc_64/lib/libdbus-1.so.3", O_RDONLY) = -1 ENOENT
(No such file or directory)

Russ


>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140128/c9e1a5ee/attachment.html>


More information about the PyQt mailing list