有人可以帮助解决此错误吗?
QString *description = new QString;
description = *dialog.descriptionEdit->toPlainText();
错误:'*QTextEdit::toPlainText() const()' 中的 'operator*' 不匹配
当我尝试时:
QString *description = new QString;
description = dialog.descriptionEdit->toPlainText();
错误:无法在分配中将“QString”转换为“QString*”