[Qt-interest] soname for shared library

Thiago Macieira thiago.macieira at trolltech.com
Fri Apr 10 21:58:25 CEST 2009


Girish Ramakrishnan wrote:
>Ah joy at last. It looks like 'plugin' in CONFIG is causing the problem.
>You will notice that all Qt plugins do not have soname set either.
>
>However, I had a look into qmake source, and there is a
>plugin_with_soname. If I use plugin_with_soname in CONFIG, it works fine
>(but this is undocumented afaict).
>
>Anyone has an explanation for the above behavior

Plugins don't have version numbers. Plugins are specific to a given 
application or library version installed. Since there can only be one 
application with a given name installed, plugins aren't versioned. There's 
no reason to have two different and binary-incompatible versions of a 
plugin installed.

Another reason is that plugins are dynamically loaded. They aren't found 
via the standard library search path mechanisms, via soname.

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
      Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090410/d8798e3f/attachment.bin 


More information about the Qt-interest-old mailing list