How can I send the command to console?
HI, I'm using Qt5.5 on my computer.
I'm wanna send this two commands to my console
cd /run/media/sda1 sync
I do not know how to do it.
@victor-wang you can use
QString cmd = "sync";
This is my code here
It cannot convert QString to char, what should i do ?