QTextEdit一直append会有内存溢出问题
摘要:QTextEdit一直append会有内存溢出问题 需要设置最大行数: ui->textEdit->document()->setMaximumBlockCount(100);或者手动当到达一定数量,自己手动清空。
阅读全文
posted @ 2021-06-15 08:15
posted @ 2021-06-15 08:15
posted @ 2021-06-07 15:57
posted @ 2021-06-04 16:44