[Qt-interest] Dependency Injection with Qt?

Daniel Lidström daniel.lidstrom at sbg.se
Fri Sep 18 08:57:09 CEST 2009


Thanks for the tip Brad!

/Daniel 

> -----Original Message-----
> From: qt-interest-bounces at trolltech.com 
> [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Brad Howes
> Sent: Thursday, September 17, 2009 6:34 PM
> To: Qt Interest
> Subject: Re: [Qt-interest] Dependency Injection with Qt?
> 
> Forgot the link: http://code.google.com/p/pococapsule/
> 
> 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
> 
> 
> 
> 
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
> 




More information about the Qt-interest-old mailing list