> From: Lincoln Ramsay <[email protected]>
> On 02/23/2012 09:48 PM, ext David Faure wrote:
>>> # write output to a file (in the user's home directory)
>>> logging.output.file = file.txt
>>
>> I suppose Windows users would expect relative paths to be "in the CWD,
> which
>> is usually the executable's directory"? Not sure.
>
> That doesn't work when an unprivileged user runs an installed app
> because they don't have permission to write to Program Files.
>
> If a relative path is going to cause problems then I'm happy to require
> absolute paths :)
well, it probably shouldn't be in CWD regardless of platform.
On Windows, I'd suggest %APPDATA%\<program name> or at minimum %APPDATA%.
You might even get away with using %TEMP%; but it'd be harder to find the log
then.
On other platforms, something under ${HOME} .
Ben
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development