qt6-bb10/tests/auto
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
..
cmake CMake: Add support for -binary option for generated resources 2020-11-12 22:11:37 +01:00
concurrent Automatically generate unit tests for QtConcurrent 2020-11-09 16:01:33 +01:00
corelib QFileInfo: mark constructors as explicit 2020-11-15 18:30:16 +01:00
dbus QChar: make construction from integral explicit 2020-11-15 14:41:05 +01:00
gui QChar: make construction from integral explicit 2020-11-15 14:41:05 +01:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
installed_cmake
network Blacklist authenticationCacheAfterCancel on Ubuntu 20.04 2020-11-13 20:56:45 +01:00
opengl Remove tst_QGL 2020-08-28 11:43:11 +02:00
other Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00
printsupport Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
shared Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
sql Cleanup remaining QVariant::Type uses in Qt Sql 2020-10-17 12:01:54 +02:00
testlib QSignalSpy: Use QMetaType instead of metatype id in initArgs 2020-11-10 11:23:55 +01:00
tools moc: output errors and warnings in a way that matches compilers 2020-11-09 12:50:10 +00:00
widgets QFileInfo: mark constructors as explicit 2020-11-15 18:30:16 +01:00
xml QChar: make construction from integral explicit 2020-11-15 14:41:05 +01:00
.prev_CMakeLists.txt CMake: Regenerate projects 2020-09-22 19:08:53 +02:00
CMakeLists.txt CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00
auto.pro Don't error out when configuring Qt on a headless system 2020-09-26 14:36:13 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00