How to add null character at end in QString.
General and Desktop
3
Posts
3
Posters
4.8k
Views
1
Watching
-
Every method, that allows for gaining access to the raw data of QString, like QString::data() or QString::unicode(), automatically terminates the string with '\0'.
This isn't coincidentally related to "http://developer.qt.nokia.com/forums/viewthread/13631/":http://developer.qt.nokia.com/forums/viewthread/13631/, is it? If so, it would be actually useful to see how you pass the data around and how you convert them from QString to the native types.