qt6-bb10/tests/auto/corelib
Giuseppe D'Angelo 784a290c4b QFileInfo: mark constructors as explicit
These look like leftovers (API flaws).

Construction of QFileInfo from QString (or similar) should be not
implicit, as QFileInfo construction is expensive (might hit the file
system), and this may have users overlook APIs (for instance build a
QFileInfo out of QDirIterator::next(), instead of using ::fileInfo();
using QDir::entryList instead of entryInfoList; etc.).

Leave an opt-out mechanism to ease porting.

Fix a handful of usages around qtbase, with at least a couple of them
likely to be actual "sloppy" code.

[ChangeLog][Potentially Source-Incompatible Changes][QFileInfo] Most
QFileInfo constructors are now explicit. The
QT_IMPLICIT_QFILEINFO_CONSTRUCTION macro is provided to keep old code
working.

Change-Id: Ic580e6316e67edbc840aa0c60d98c7aaabaf1af6
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-11-15 18:30:16 +01:00
..
animation Remove timeStep parameter from QAnimationDrive::advanceAnimation 2020-10-13 08:44:42 +02:00
global Add tests for QOperatingSystemVersion 2020-11-09 16:01:33 +01:00
io QFileInfo: mark constructors as explicit 2020-11-15 18:30:16 +01:00
itemmodels QChar: make construction from integral explicit 2020-11-15 14:41:05 +01:00
kernel QSharedMemory: do not abuse QChar in a test 2020-11-08 02:13:22 +00:00
mimetypes CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
plugin Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00
serialization QChar: make construction from integral explicit 2020-11-15 14:41:05 +01:00
text QChar: make construction from integral explicit 2020-11-15 14:41:05 +01:00
thread Conditionally disable code snippets that depend on cxx11_future 2020-11-13 20:31:22 +01:00
time Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00
tools QChar: make construction from integral explicit 2020-11-15 14:41:05 +01:00
.prev_CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
corelib.pro Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00