[Qt-interest] plugin fails to load with uresolved links to another plugin

Thiago Macieira thiago at kde.org
Wed Jun 16 14:06:30 CEST 2010


Em Quarta-feira 16 Junho 2010, às 13:51:58, Kishore escreveu:
> like with many other applications is that plugin A depends on 
> plugin B.

That is not a normal situation.

Plugins don't depend on each other. That's why they are called "plugins".

Something that can be depend on is called "library". You link to it and the 
system will automatically load it.

> Now, everything works fine if i declare that plugin A depends on B using
> the TARGET_LINK_LIBRARIES() (I use the CMake build system) function. But
> for this to work, i have to declare both A and B as SHARED instead of
> MODULE libraries.

That's what the effect of what I said above.
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100616/a9755ad1/attachment.bin 


More information about the Qt-interest-old mailing list