Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-88041

qDebug().nospace still output '\n'

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.14.2
    • Build System
    • None
    • win10 

    • Windows

    Description

      qDebug() output \n default, I don't want this, so I check the document and find the "nospace" method, but even if I use this method, it still output \n,  Don't you think it is  abnormal??  

      please change this behavior, thank you !

      before code like:  qDebug()<<"1"; qDebug()<<"1";qDebug()<<"1";

      after code like: qDebug().nospace()<<"1"; qDebug().nospace()<<"1"; qDebug().nospace()<<"1";

      two code's result all have newline('\n')

      I hope you could change this stupid design. thank you!

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            newowen a b
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes