:-1: error: cannot open output file debug\hostname.exe: Permission denied
QString name = qgetenv("USER");
name = qgetenv("USERNAME");
qDebug() << name;
I'm trying to learn getting environment variables from examples found on internet but this one seemed to have permission related issue.
How do I know the right permission needed to be able to get the right output?
The project name is hostname