[Interest] Why QString and not std::string?
John Layt
jlayt at kde.org
Fri Jun 15 17:20:28 CEST 2012
On 15 June 2012 15:39, Rui Maciel <rui.maciel at gmail.com> wrote:
> On 06/15/2012 03:13 PM, Giuseppe D'Angelo wrote:
>>> > But it's standard and it is C++.
>> But (I think) the point was: what should have we used for the last
>> 10-15 years of QString?
>
> I could've been a bit clearer in my initial post, but I intended to know
> if there was currently any reason that justified having QString around
> instead of simply using what's already included in C++'s standard library.
Besides all the technical reasons given? Backwards compatibility to
existing code-bases. There's millions upon millions of lines of Qt
code out there using QString, do you want to tell everyone that to
port to Qt5 they must use C++11 and change all their code to use
std_string?
John.
More information about the Interest
mailing list