[Qgis-developer] STL vs. Qt containers
Marco Hugentobler
marco.hugentobler at karto.baug.ethz.ch
Fri Oct 27 04:19:01 EDT 2006
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.
cheers,
Marco
Am Donnerstag, 26. Oktober 2006 14:54 schrieb Martin Dobias:
> Hi devs,
>
> QGIS code uses a mixture of containers (e.g. map, vector, list, set)
> from standard C++ library and Qt. I'd like to hear your opinions about
> moving completely to Qt containers (QMap, QVector, ...). Benefit of
> this would be a "smoother" and more Qt-ish API, possibility to use
> java-style iterators and more.
>
> Overview of the containers:
> http://doc.trolltech.com/4.2/qt4-tulip.html
>
> If noone objects against it, I would change it in the refactoring
> branch. This will allow making the python bindings easier.
>
> Martin
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.qgis.org
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer
More information about the Qgis-developer
mailing list