Compile fixes (strict iterators + no deprecated kutils)

Kevin Ottens ervin at
Thu Oct 7 08:23:12 UTC 2010

On Thursday 7 October 2010 10:05:03 Esben Mose Hansen wrote:
> THe 2nd one is actually pretty interesting. Apparantly, QT creates a deep
> copy of any implicitly shared QList upon calling .begin() (or .end()). I
> suppose that might be  a problem.
> The typedef itself is pretty broken, though. iterator really should be
> convertible to const_iterator.

Well, it does by default, but not when you build using QT_STRICT_ITERATORS 
like me though... Which helps catching the wrong uses of .begin() that you 
pointed out.

Kévin Ottens,

KDAB - proud patron of KDE,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the KDevelop-devel mailing list