qt5base-lts/tests/auto/corelib/io
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
..
largefile Remove usages of deprecated APIs from QtAlgorithms 2019-06-29 21:58:36 +02:00
qabstractfileengine Filesystem: Use "birth time" to avoid confusion with Unix ctime 2017-08-05 16:41:38 +00:00
qbuffer Updated license headers 2016-01-21 18:55:18 +00:00
qdataurl Updated license headers 2016-01-21 18:55:18 +00:00
qdebug Prefix QTextStream operators with Qt:: in tests 2019-05-03 09:36:36 +00:00
qdir QDir: strip Windows' long-path markers when converting from native 2019-07-17 20:07:15 +02:00
qdiriterator Android: fix qdiriterator test 2018-06-21 14:14:45 +00:00
qfile unblacklist passing tests 2019-07-08 11:01:42 +00:00
qfileinfo Remove usages of QSysInfo's deprecated APIs 2019-07-05 09:26:17 +00:00
qfileselector Do not strip off the fragment and query in the qfileselector 2019-06-03 12:29:49 +00:00
qfilesystementry Updated license headers 2016-01-21 18:55:18 +00:00
qfilesystemmetadata Filesystem: Use "birth time" to avoid confusion with Unix ctime 2017-08-05 16:41:38 +00:00
qfilesystemwatcher unblacklist passing tests 2019-07-08 11:01:42 +00:00
qiodevice Remove QSKIP and bring the test back to business 2018-10-25 11:51:42 +00:00
qipaddress QIpAddress: reject IPv6 addresses with more than 4 hex digits 2018-03-16 00:01:53 +00:00
qlockfile Remove usages of QSysInfo's deprecated APIs 2019-07-05 09:26:17 +00:00
qloggingcategory Prefix QTextStream operators with Qt:: in tests 2019-05-03 09:36:36 +00:00
qloggingregistry Logging: Accept .ini files written by QSettings 2018-07-28 14:43:40 +00:00
qnodebug Fix compilation of qCDebug("", ...) with QT_NO_DEBUG_OUTPUT 2019-03-14 17:15:53 +00:00
qprocess unblacklist passing tests 2019-07-08 11:01:42 +00:00
qprocess-noapplication macOS: Don't build auto-tests as application bundles unless explicitly requested 2016-10-23 10:39:56 +00:00
qprocessenvironment QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
qresourceengine QResource: deprecate isCompressed() 2019-07-16 22:36:27 -03:00
qsavefile QSaveFile: Fix changing the file name after hitting on readonly file 2019-07-11 22:00:10 +02:00
qsettings Remove usages of deprecated APIs of qtbase/gui 2019-07-13 10:43:15 +02:00
qstandardpaths test: migrate QStandardPaths tests to QRegularExpression 2019-06-10 21:34:38 +02:00
qstorageinfo Ignore failing test for free space on APFS 2019-04-30 10:58:13 +00:00
qtemporarydir Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qtemporaryfile Merge remote-tracking branch 'origin/5.13' into dev 2019-06-27 14:38:03 +02:00
qurl Brush up tst_QUrl 2019-06-11 09:16:31 +02:00
qurlinternal QUrl: fix IDN conversion when the ACE form is invalid 2017-04-25 00:51:43 +00:00
qurlquery QUrlQuery: Implement initializer list constructor 2018-12-09 11:35:27 +00:00
io.pro Modernize the "settings" feature 2018-11-15 17:20:15 +00:00