> -----Original Message----- > From: Smith Martin > Sent: Friday, December 06, 2013 4:35 PM > To: Koehne Kai; [email protected] > Subject: RE: Changed qdebug stream operator output (qtbase/dev) > > I will miss it. Why did we take it out? Now I have to put << " " everywhere.
I'm not sure whether you're ironic or not :) What got removed isn't the space between strings that are concatenated, but a superficial space right before the newline. E.g. qDebug() << "Hello" << "World"; will now print "Hello World" But not "Hello World " To get rid of the space in between you still have to do qDebug().nospace() << "Hello" << "World"; Hope that clarifies it. Kai > martin > ________________________________________ > From: [email protected] > [[email protected]] on behalf > of Koehne Kai [[email protected]] > Sent: Friday, December 06, 2013 4:29 PM > To: [email protected] > 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 > [email protected] > http://lists.qt-project.org/mailman/listinfo/development _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
