qt5base-lts/tests/auto
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
..
bic/data Add binary compatibility files for 5.12 for QtBase 2018-12-21 19:42:57 +00:00
cmake cmake: correct version dependency for qt5_add_big_resources 2019-05-20 12:49:37 +02:00
concurrent Introduce QT_NO_LINKED_LIST and mark QtBase (almost) free of it 2019-07-12 14:26:30 +02:00
corelib QDir: strip Windows' long-path markers when converting from native 2019-07-17 20:07:15 +02:00
dbus unblacklist passing tests 2019-07-08 11:01:42 +00:00
gui Remove usages of deprecated APIs of qtbase/gui 2019-07-13 10:43:15 +02:00
guiapplauncher
installed_cmake
network Merge remote-tracking branch 'origin/5.13' into dev 2019-07-17 10:44:21 +02:00
opengl unblacklist passing tests 2019-07-08 11:01:42 +00:00
other Remove usages of deprecated APIs of qtbase/gui 2019-07-13 10:43:15 +02:00
printsupport test: migrate QPrinterInfo test to QRegularExpression 2019-06-11 09:08:11 +02:00
shared Make tst_qwidget pass on High-DPI screens (Windows) 2019-06-03 10:41:08 +02:00
sql Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
testlib QTestlib: Check compared images for device pixel ratio 2019-07-09 20:15:34 +02:00
tools Qt6: Fix uninitialized meta objects on Windows 2019-07-16 18:34:41 -07:00
widgets Merge remote-tracking branch 'origin/5.13' into dev 2019-07-17 10:44:21 +02:00
xml Convert uses of QTime as a timer to QElapsedTimer 2019-06-14 10:42:33 +02:00
auto.pro winrt: Skip network auto tests for now 2018-06-22 05:02:39 +00:00
network-settings.h test: migrate QNetworkReply test to QRegularExpression 2019-06-10 16:49:19 +02:00