qt5base-lts/tests/auto/corelib
Volker Hilsheimer 3966b571ff QDir: strip Windows' long-path markers when converting from native
Applications might receive paths with Windows' '\\?\' markers, which
indicates a long path to Win32 APIs, when the application is opened by
explorer via file association. Qt not ignoring those markers will fail
to open such files.

By stripping the marker in QDir::fromNativeSeparators, QFile, QFileInfo
etc automatically are able to handle such paths. QDir::cleanPath is
also documented to normalize separators, so it needs to be done there
as well.

[ChangeLog][QtCore][QDir] Remove Windows specific long path markers
when handling file paths with native separators.

Change-Id: I526a890614edee8c85b39fc12c98e7ddb6e0d793
Fixes: QTBUG-75117
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2019-07-17 20:07:15 +02:00
..
animation unblacklist passing tests 2019-07-08 11:01:42 +00:00
codecs Add tests for decoding too-short UTF-8 sequences 2018-09-25 22:14:07 +00:00
global Remove usages of deprecated APIs of corelib 2019-07-05 11:25:46 +02:00
io QDir: strip Windows' long-path markers when converting from native 2019-07-17 20:07:15 +02:00
itemmodels test: migrate QItemSelectionModel test to QRegularExpression 2019-06-10 19:29:44 +00:00
kernel Qt6: Fix uninitialized meta objects on Windows 2019-07-16 18:34:41 -07:00
mimetypes Remove handling of missing Q_COMPILER_RVALUE_REFS 2019-05-01 20:24:45 +00:00
plugin Merge remote-tracking branch 'origin/5.13' into dev 2019-07-05 15:37:50 +02:00
serialization Remove usages of deprecated APIs of qtbase/gui 2019-07-13 10:43:15 +02:00
statemachine test: migrate QStateMachine test to QRegularExpression 2019-06-10 19:23:42 +00:00
text Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00
thread unblacklist passing tests 2019-07-08 11:01:42 +00:00
time unblacklist passing tests 2019-07-08 11:01:42 +00:00
tools QVarLengthArray: optimize pop_back() 2019-07-14 15:44:22 +00:00
corelib.pro Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00