My goal is to successfully associate the folder with / opt / directory, which must be started using sudo.
I tried this:
system(sudo ln -s $$OUT_PWD/xampp /opt/lampp):message("You should manually link LAMPP")
But building from qt-creator does not ask for the sudo password, so I could not get it to link this folder. I got the error "Password Errors ..." in the compiler output. Then I tried them with the build steps:
make
sudo make install
to find out if he would notify me of this, but at the stage, make installthe same error was not possible as in detail:
00:31:20: Starting: "/usr/bin/sudo" make install
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
Sorry, try again.
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
Sorry, try again.
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
Sorry, try again.
sudo: 3 incorrect password attempts
00:31:20: The process "/usr/bin/sudo" exited with code 1.
system() qmake script , qmake && make && make install , sudo ln...; , CTRL-B Qt Creator sudo...
Qt Creator ? sudo pass Qt Creator ( )... , , , ? prompt() qmake sudo?
...