Hi,
Could anyone please help me find theDirectory where the OS is installed using Qt 4.7.4.
The OS is Windows7.
Appreciate your help.
Thanks in advance.
Hi,
Could anyone please help me find theDirectory where the OS is installed using Qt 4.7.4.
The OS is Windows7.
Appreciate your help.
Thanks in advance.
You can try with
or
Try using QDir..check the documentation. There is a function (actually a few) that can provide you with useful information like:
QDir QString Return Value
current() currentPath() The application's working directory
home() homePath() The user's home directory
root() rootPath() The root directory
temp() tempPath() The system's temporary directory
hope it helps
Thanks. Will try it out.
Just one more doubt. Can we get a list of the number of directories present?
I was looking through and got to know that QDir:irs might do the trick, but am not so sure about it.
Bookmarks