How can I use a command systemwhere the command is written in QString?
how
QString command="chmod -R 777 /opt/QT/examples/code/TestGUI/Data";
system(command);
When compiling, I get this error:
cannot convert βQStringβ to βconst char*β
for argument β1β to βint system(const char*)β
Can anyone suggest something?
source
share