[Qt-interest] Dependency Injection with Qt?
Brad Howes
howes at ll.mit.edu
Thu Sep 17 18:33:00 CEST 2009
On Sep 17, 2009, at 10:36 AM, Daniel Lidström wrote:
> 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.
I looked into PocoCapsule about a year ago and really liked what I
saw, but I have not had the time to play with it. It should work with
Qt just fine.
Brad
--
Brad Howes
Group 42
MIT Lincoln Laboratory • 244 Wood St. • Lexington, MA 02173
Phone: 781.981.5292 • Fax: 781.981.3495 • Secretary: 781.981.7420
More information about the Qt-interest-old
mailing list