[Development] FW: Backwards compatibiltiy break in Qt 5.5

Robert Griebl robert.griebl at pelagicore.com
Tue Jul 28 16:17:59 CEST 2015


On 28.07.2015 09:28, Olivier Goffart wrote:
> On Monday 27. July 2015 10:03:25 Thiago Macieira wrote:
>> The whole thinking is that the use of operator<< for QString implies you're
>> trying to figure out why that string is the way it is, as opposed to trying
>> to convey a message.
>
> I think that's where the disagreement is.
>
> I would think the use of operator<< for QString is just trying to figure out
> WHAT is that string.
>
> [...]
>
> Imagine that in a app written in russian for russian, or in other languages.
> You really want to know what is the error message or the file name.

This is exactly how I (and most of our customers) use qDebug() on a 
daily basis. I appreciate having the possibility to get an unambiguous 
output for those tricky test cases, but please make that an opt-in.


> So if you ask my opinion, I think this regression should be fixed in Qt 5.5.x.

+1


cu
Robert

-- 
Robert Griebl
SENIOR SOFTWARE ENGINEER

Pelagicore AG
Balanstr. 55, 81541 Munich, Germany
robert.griebl at pelagicore.com
www.pelagicore.com



More information about the Development mailing list