qt4 里面有详细的说明
Let's assume that you have created a QSettings object with the organization name MySoft and the application name Star Runner. When you look up a value, up to four locations are searched in that order:1 a user-specific location for the Star Runner application
2 a user-specific location for all applications by MySoft
3 a system-wide location for the Star Runner application
4 a system-wide location for all applications by MySoft
On Windows, the following files are used:1 %APPDATA%\MySoft\Star Runner.ini2 %APPDATA%\MySoft.ini3 %COMMON_APPDATA%\MySoft\Star Runner.ini4 %COMMON_APPDATA%\MySoft.iniThe
%APPDATA% path is usually
C:\Documents and Settings\User Name\Application Data; the
%COMMON_APPDATA% path is usually
C:\Documents and Settings\All Users\Application Data.
[ 此帖被浪漫天使在2009-04-01 09:05重新编辑 ]