[Qgis-developer] STL vs. Qt containers

Martin Dobias wonder.sk at gmail.com
Sat Oct 28 19:41:44 EDT 2006


On 10/29/06, Mateusz Loskot <mateusz at loskot.net> wrote:
> Marco Hugentobler wrote:
> > Hi Martin,
> >
> > I'm more in favour of the STL classes because they are available wherever a
> > C++ compiler is. There are parts of QGIS which could be used without qt, e.g.
> > the vector data providers and other non-gui classes. I think it would be a
> > pitty to create a dependency on qt for those classes.
>
> If I may share my opinion, I agree with Marco's arguments.
> Particularly, I can't see real advantages of using QT
> than C++ standard containers.

I see advantage in having the code more consistend and Qt-ish. Qt
containers also have java-like iterators which are simpler to use.
Besides this, they have generally the same functionality.

Martin



More information about the Qgis-developer mailing list