qt6-bb10/tests/auto
Ryan Chu 7a4e5e7433 Make Qt aware of symlinks and shortcuts on Windows
Qt has traditionally considered Windows shortcut files equivalent to
symlinks on Unix file systems. Because of NTFS symlinks, the
interpretation of shotcut files as symlinks is confusing.

In this change, QFileInfo treats shortcut (.lnk) files as regular files
but can follow the pointed object.

In addition, QFileInfo introduces a more comprehensive file type. So
that applications can make well-informed decisions about how to treat a
file system entry.

Based on the implementation of QFileInfo::type(), two inline helper
functions are introduced to QFileInfo.
1. isSymbolicLink, returns true if it points to a symbolic link.
2. isShortcut, returns true if it points to a shortcut.

[ChangeLog][QtCore][QFileInfo] Introduce QFileInfo::type() to replace
the isSymLink method.

Task-number: QTBUG-75869
Change-Id: Icc0dd52f9ad0ea50b0265d77ee0d0a3d25054e39
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2019-08-16 23:25:33 +02:00
..
bic/data Add binary compatibility files for Qt5.13.0 for QtBase 2019-08-14 10:29:38 +03:00
cmake CMake: Add support for auto-importing plugins in CMake 2019-08-12 18:23:58 +02:00
concurrent Introduce QT_NO_LINKED_LIST and mark QtBase (almost) free of it 2019-07-12 14:26:30 +02:00
corelib Make Qt aware of symlinks and shortcuts on Windows 2019-08-16 23:25:33 +02:00
dbus unblacklist passing tests 2019-07-08 11:01:42 +00:00
gui Fix tst_QImageReader::saveColorSpace 2019-08-13 17:26:15 +02:00
guiapplauncher
installed_cmake
network Merge remote-tracking branch 'origin/5.13' into dev 2019-08-13 09:46:17 +02:00
opengl QTestLib: Introduce initMain() to run in main before qApp exists 2019-08-13 19:07:05 +02:00
other Merge remote-tracking branch 'origin/5.13' into dev 2019-08-15 01:00:51 +02:00
printsupport Remove the remaining usages of deprecated APIs of qtbase 2019-08-01 06:48:27 +02:00
shared Make tst_qwidget pass on High-DPI screens (Windows) 2019-06-03 10:41:08 +02:00
sql test: migrate QSqlDatabase test to QRegularExpression 2019-07-29 20:01:24 +02:00
testlib QTestLib: Introduce initMain() to run in main before qApp exists 2019-08-13 19:07:05 +02:00
tools Merge remote-tracking branch 'origin/5.13' into dev 2019-08-16 01:00:33 +02:00
widgets Merge remote-tracking branch 'origin/5.13' into dev 2019-08-15 01:00:51 +02:00
xml Convert uses of QTime as a timer to QElapsedTimer 2019-06-14 10:42:33 +02:00
auto.pro
network-settings.h test: migrate QNetworkReply test to QRegularExpression 2019-06-10 16:49:19 +02:00