Im new for Stackoverflow and QT Creator.
I want to ask that, I have std::shared_ptr<FILE> pipe(_popen(command.c_str(),"r"), _pclose);
in my bool exec(std::string command){
function.
My question is, how can I display on textbrowser, std::shared_ptr<FILE> pipe(_popen(command.c_str(),"r"), _pclose);
?
Normally ui->textBrowser->setText();
used for displaying textBrowser but it doesnt work in bool exec function. Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire