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

qDebug().nospace still output '\n'

XMLWordPrintable

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

    • Windows

      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!

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes