We have a QT4.4-based application in which we develop our own plugins. Following Qt's instructions, we have added:

config += plugin

To our plugin libraries. This has worked fine.

However, we are transitioning to a non qmake-based system, and consequently I need to better understand the build semantics of plugins.

As far as I can tell, the only compile-time effect of 'config += plugin' is to define QT_PLUGIN (as in, 'g++ -DQT_PLUGIN ...'). Also, executables using plugins are not linked to those plugins.

Have I correctly understood the mechanics of 'config += plugin' ? Are there other compile-time or link-time effects that I should know about?

Thanks,
--Steve