On Wed, 30 Mar 2011 23:07:07 +0200, Jens Thoms Toerring wrote:

> Since with the QLibrary class there doesn't seem to be a
> possibility to get at the error messages from the dynamic linker
> I replaced the QLibrary load() method calls with a dlopen() call.
> This also fails and dlerror() tells me that when loading the
> plugin some symbols are undefined. This seems strange because
> it works in the case of a C++ program linked against the library
> and, as checks with tools like 'nm' show, those symbols are
> definitely defined in the wrapped C++ library (i.e. the one that
> tries to load the plugin).
>
> I have no good idea at the moment about the reasons for this
> problem. Has anybody experienced a similar situation and per-
> haps has found a work-around (or at least an explanation for
> what is happening)?

Just a suggestion: you might want to set the ExportExternalSymbolsHint
load hint using the setLoadHints() method of your QLibrary instance.

David
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to