Hi,
I am porting MFC code to Qt4.
There is a method in MFC namely SHGetFolderPath which gives the path of the folder given the CSIDL value.
For the current code I am porting, the CSDIL value is "CSIDL_COMMON_APPDATA" Which yeilds a typical path "C:\Documents and Settings\All Users\Application Data".
In Qt, the nearest thing I know is QDesktopServices::StandardLocation. But for the location/path that CSIDL_COMMON_APPDATA returns in MFC, I am not sure how to get the same location in Qt.
Please help.
/Ankitha.
Bookmarks