In QT using QFileDialog’s getExistingDirectory, how can I start in a directory specified by an environment variable?
That is to say, how can I do this:
return QFileDialog::getExistingDirectory(0, "Open Directory", "%HOME%", QFileDialog::ShowDirsOnly);
Where %HOME% is the Windows Envirnment Variable to the user’s home usually found in C:\Users\UserName
Thanks.
The answer would probably be:
getenvis declared instdlib.h