[Development] Changed qdebug stream operator output (qtbase/dev)

Simon Hausmann simon.hausmann at digia.com
Fri Dec 6 16:40:30 CET 2013


On Friday 6. December 2013 15.34.33 Smith Martin wrote:
> I will miss it. Why did we take it out? Now I have to put << " " everywhere.

No, the change merely removes the _trailing_ space. That added little value :)


Simon

> ________________________________________
> From: development-bounces+martin.smith=digia.com at qt-project.org
> [development-bounces+martin.smith=digia.com at qt-project.org] on behalf of
> Koehne Kai [Kai.Koehne at digia.com] Sent: Friday, December 06, 2013 4:29 PM
> To: development at qt-project.org
> Subject: [Development] Changed qdebug stream operator output (qtbase/dev)
> 
> Hi,
> 
> Just a small heads-up: I just managed to merge change
> https://codereview.qt-project.org/#change,69731 in qtbase , dev branch.
> That change gets rid of the trailing space that was added for every
> qDebug() << ; statement. I guess nobody will really miss it ... but it
> might be that there are still auto tests checking for it!
> 
> So, if you've mysterious autotest failures in somemodule/dev where expected
> output isn't found any more, this might be the reason. Actually QTest now
> takes this into account for a simple ignoreExpectedMessage(), but that
> ain't help you if you're e.g. comparing QProcess output ...
> 
> Follow up patches for some modules are here:
> 
> QtDeclarative: https://codereview.qt-project.org/#change,69735
> Qtsensors: https://codereview.qt-project.org/69734
> Qtmultimedia: https://codereview.qt-project.org/#change,69732
> Qtquick1: https://codereview.qt-project.org/#change,69736
> 
> 
> Kind regards
> 
> Kai
> 
> --
>    Kai Köhne, Senior Software Engineer - Digia, Qt
>    Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
>    Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
>    Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
> 
> 
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development




More information about the Development mailing list