diff options
author | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-08-19 13:34:00 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-08-20 08:59:41 +0000 |
commit | a81f19295745d081306f9417d6c45fda252fcb89 (patch) | |
tree | b9c9f03c2ed42cae5cb9ee22306420e4ea817590 /tests/auto | |
parent | 85ce2334cf8ddc4a44037a70e29551d51759ef4e (diff) |
Fix errors when running updates in a directory requiring elevation
isWritable() is not a reliable way to check for permissions on Windows.
Instead, just try to create a file.
The alternative would be to set the magic qt_ntfs_permission_lookup
variable to 1. Anyhow, this might slow down things and cause other
regressions ...
Task-number: QTIFW-746
Change-Id: I1b5637670bfcfe29966f0545ce2c6b1f663a9738
Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions