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

Smith Martin Martin.Smith at digia.com
Fri Dec 6 16:34:33 CET 2013

I will miss it. Why did we take it out? Now I have to put << " " everywhere.

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)


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 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

More information about the Development mailing list