running apt-get by using Qt (QProcess)
Unsolved
General and Desktop
-
Hello
I want to install and run some shell script by using Qt and make a Ubuntu Desktop Application.
now I use:QProcess process; process.startDetached("bash /home/root_enable"); process.waitForFinished(-1);
But I don't see terminal to enter Y/n and other command.
How can I fix this problem?my root_enable is:
sudo apt-get install vim
-
@aghict said:
But I don't see terminal
Hi! That's because bash isn't a terminal emulator but a command line interpreter. A common terminal emulator on desktop Linux is for example KDE's Konsole.