[Qt-interest] Plugins in static builds

Thiago Macieira thiago.macieira at trolltech.com
Mon Jul 27 21:58:34 CEST 2009


Em Segunda-feira 27 Julho 2009, às 16:41:47, Vyacheslav V. Yurkov escreveu:
> Why can't I use plugins in the static build of my application?

Because plugins don't make sense in static builds.

For plugins to exist, they must link to a library that provides some 
interfaces that they implement, and the application must link to the same 
library so that it can talk to the plugins.

In static builds, there is no library to share between the plugins and the 
application. So you can't have plugins.

Qt's own plugins, in static mode, are not plugins: they are simply static 
libraries that are linked into the application, just like other libraries.

-- 
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/20090727/457c68a1/attachment.bin 


More information about the Qt-interest-old mailing list