KAutoPointer: a new autoptr class for QPointer
Harri Porten
porten at froglogic.com
Sat Jul 11 00:10:56 BST 2009
On Fri, 10 Jul 2009, Thiago Macieira wrote:
> Harri Porten wrote:
>> On Fri, 10 Jul 2009, Thiago Macieira wrote:
>>>> BTW, Qt has broken source compatibility even for the rather trivial
>>>> container classes three times already making it impossible (much to
>>>> my regret) to argue in favor of Qt's containers in discussions about
>>>> using the STL containers instead.
>>>
>>> I don't recall of any important breakage in Qt 4. We're very careful
>>> about that.
>>
>> I guess Ingo meant the three major breakages between 1/2, 3 and 4. As
>> much as I'd like to use Qt container classes everywhere (including
>> non-GUI) code the track record is rather weak compared to STL
>> containers and other libraries. GUIs come and go - code under the hood
>> often has to live much longer :)
>
> Huh?
>
> GCC 2.7, GCC 2.96 (unofficial release), GCC 3.0, GCC 3.2, GCC 3.4. That's 5
> separate API/ABI breakages that I can remember. Though I also thought that
> 2.95 had a breakage, I think it actually didn't.
Ingo talked about *source* code incompatibilities. Binary compatibility is
nice but only secondary in comparison. Recompiling an application against
a new ABI (possibly fixing some accidental regressions) is ridiculously
easy compared to porting it to a new source API.
Harri.
More information about the kde-core-devel
mailing list