qt5base-lts/qmake/generators
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
..
mac qmake: Fix iOS code signing after QSettings behavior change 2020-10-06 18:49:32 +02:00
unix Use QList instead of QVector in qmake 2020-09-05 07:07:44 +02:00
win32 qmake/vcxproj: Fix handling of extra compiler outputs 2020-11-02 15:31:01 +01:00
makefile.cpp Add new way to mess up projects with QMAKE_INSTALL_REPLACE 2020-11-09 19:13:48 +02:00
makefile.h Add new way to mess up projects with QMAKE_INSTALL_REPLACE 2020-11-09 19:13:48 +02:00
makefiledeps.cpp Use QList instead of QVector in qmake 2020-09-05 07:07:44 +02:00
makefiledeps.h Use QList instead of QVector in qmake 2020-09-05 07:07:44 +02:00
metamakefile.cpp QFileInfo: mark constructors as explicit 2020-11-15 18:30:16 +01:00
metamakefile.h qmake: Apply modernize-use-nullptr 2018-08-08 17:30:32 +00:00
projectgenerator.cpp Use QList instead of QVector in qmake 2020-09-05 07:07:44 +02:00
projectgenerator.h Merge remote-tracking branch 'origin/5.13' into dev 2019-06-14 13:45:18 +02:00
xmloutput.cpp Use qsizetype in QList 2020-07-06 21:31:14 +02:00
xmloutput.h Updated license headers 2016-01-21 18:55:18 +00:00