P3: Somewhat important
* Windows 10 (both Qt 5.9.2 and 5.3) MSVC2013 and MSVC2015
* Windows 7 (Qt 5.3)
Compiling with (depending on the above):
* Microsoft Visual C++ Compiler 14.0 (amd64_x86)
* Microsoft Visual C++ Compiler 12.0 (amd64_x86)
22ec92a201beb9ec4bb6a7e21fcfdc8cd9b884f9 (qtbase/5.10, 2.12.2017, 5.10.1)
Hi, i'm having problems loading settings with QSettings on a windows machine.
I have a symlink file in the Project/debug folder that points to another file in another folder (writable and readable) when I try to read some setting from that file it behave like the file doesn't exists, when I try to write some settings on that link it overwrites the entire file deleting all the settings in it.
The link file is a symlink, not a normal shortcut (that doesn't work either, the same behavior is triggered) is created with the windows tool mklink using the command:
mklink test.ini "D:\usr\test.ini"
even if the setting "bb=false" is originally in the file it disappear and this line has a null output in the console:
P.S: this behavior is not triggered with a file that is not a link or a simlink, the same code with "test.ini" as a normal file works fine
|For Gerrit Dashboard: QTBUG-64121|
|209950,6||QSettings/QConfFile: Fix reading on NTFS symbolic links||5.10||qt/qtbase||Status: MERGED||+2||0|