Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Inser into QTextEdit using QChar::ObjectReplacementCharacter crash after clear()

$
0
0
Hi all I’m developing a software using Qt 4.8.4. I have a QTextEdit where I insert some custom objects as found in the “Text Object” example. The first time I insert my object all goes well. The problem happen after I call QTextEdit clear() method. Since I need to fill the editor with a new set of objects I clear all the content and start inser again. Unofrtunately it seem after called clear() insert new objects make crash the application. The debugger report me the crash into a realloc() function of a vector inside QTextEdit control. I’m currently using Visual Studio for developing. Currently I still was not able to find a workaround for this problem. Someone know a solution? Thank you

Viewing all articles
Browse latest Browse all 13965

Trending Articles