[Qt-interest] QLibrary cannot resolve symbol

Anatoly Burakov burakov.anatoly at gmail.com
Wed Jul 13 18:37:43 CEST 2011


Hi all

I'm trying to load a shared library using QLibrary. I done it a
million times before, so i know all the basics. However, for some
reason, this time it doesn't work.

I have an exported C "instance" function. The output from readelf is
the following:
$ readelf -s libmylib.so | grep instance
   180: 0000000000002e70    61 FUNC    LOCAL  DEFAULT   11 instance

When i try to resolve it with QLibrary but it says it can't resolve
this symbol. I also tried doing everything through QPluginLoader -
same thing, the library is not a valid plugin.

What could be the reason? KDevelop 4.2.3, latest Kubuntu x64.



More information about the Qt-interest-old mailing list