c++ - qt 如何用 QTextEdit显示cout输出的内容
阿神
阿神 2017-04-17 14:46:56
0
1
708
阿神
阿神

闭关修行中......

reply all(1)
黄舟

textEdit can receive QString type, so you need to convert it. The conversion is not troublesome.

QString qsStr = QString(char *);
textEdit->append(qsStr);
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!