problem in porting QString::at(index)

David Faure faure at
Tue Oct 11 15:47:58 BST 2005

On Tuesday 11 October 2005 15:48, Andreas Gungl wrote:
> I've found a problem in a changed semantic of QString::at(0) which seemed   
> to return '\0' in Qt3 for an empty string. Now we run into an assertion   
> for 0 <= i < size() although the Qt4 docu says about QString::size(), that  
> at position size() of a QString there is ever placed a '\0'. 

From what you say there is clearly a mismatch between the Qt4 behavior and 
the Qt4 documentation, so you should send this mail to qt-bugs at

David Faure, faure at, sponsored by Trolltech to work on KDE,
Konqueror (, and KOffice (

More information about the kde-core-devel mailing list