[Qt-interest] Dependency Injection with Qt?

Daniel Lidström daniel.lidstrom at sbg.se
Thu Sep 17 16:36:44 CEST 2009


Hi,

I have been searching the net for a dependency injection [1] library for use with Qt.
The only one I can find is qt ioc container [2]. Unfortunately it uses xml files for
configuration. Modern dependency injection containers use auto wiring or configure
with code. As big as Qt seems to be, I am surprised that I haven't found anything
else. Does anybody on this list know of a Qt DI container? Or have you made your
own that could be shared? Qt's meta object should provide everything that's really
necessary.

Thanks in advance!

[1]: http://martinfowler.com/articles/injection.html
[2]: http://qtioccontainer.sourceforge.net/

Regards,

Daniel Lidström
Stockholm, Sweden




More information about the Qt-interest-old mailing list