Home > Mobile >  Bosses, QString joining together more than 1024 bytes garbled words what happened
Bosses, QString joining together more than 1024 bytes garbled words what happened

Time:05-20

I want to use Qt database operation, wrote a long SQL statements, while on a string concatenation byte at the end of the disappeared, and the tail of the qDebug output still gibberish, is a QString limited storage length?

CodePudding user response:

Poof, originally is my SQL statement is wrong, I told you how always perform error, but the contents of the qDebug print QString or at the end of the code, but found that the contents of the QString under Debug breakpoint debugging is right... I opened to

CodePudding user response:

Just on the Internet to see if this is a bug in the Debug mode, https://bugreports.qt.io/browse/QTCREATORBUG-17117, when printing more than 1023 bytes will appear binary characters, can normal output without the Debug mode...
  •  Tags:  
  • Qt