qt5base-lts/qmake
Giuseppe D'Angelo 8780fbb2eb Build Qt (and client apps using it) with /permissive-
*Not* using /permissive- exposes Qt and client apps to interesting
bugs and/or build failures, (e.g. QTBUG-87225, or
19b5520abf). We demand strict
conformance by any other compiler, it's time to demand it from
MSVC too.

The Windows headers themselves are clean starting from the
Windows Fall Creators SDK (10.0.16299.0), and moreover Qt 6 will
drop WinRT; therefore, the comment in the mkspecs does not apply
any more.

Since /permissive- implies /Zc:referenceBinding, drop that
option. The other implied options are set on MSVC < 2017,
but I leave them in to avoid tinkering with the fragile lists
of C/C++ flags.

Rename the CMake internal helper function to better describe
what it does.

Fixes: QTBUG-85633
Fixes: QTBUG-85637
Fixes: QTBUG-85635
Fixes: QTBUG-88244
Change-Id: Ie03fddb61aa066fdc14b7231c22e7108b4a02fbb
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-11-10 20:01:49 +01:00
..
doc Android: recommend against using ANDROID_ABIS inside the project file 2020-11-10 13:23:09 +00:00
generators Add new way to mess up projects with QMAKE_INSTALL_REPLACE 2020-11-09 19:13:48 +02:00
library qmake: Fix qHash-related integer conversion warnings 2020-10-17 11:56:59 +02:00
.prev_CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
cachekeys.h qmake: Fix qHash-related integer conversion warnings 2020-10-17 11:56:59 +02:00
CMakeLists.txt Build Qt (and client apps using it) with /permissive- 2020-11-10 20:01:49 +01:00
main.cpp Make "qmake -qtconf my-qt.conf -install ..." possible 2020-10-23 21:11:50 +02:00
Makefile.unix Reimplement QSequentialIterable using QMetaSequence 2020-09-03 08:27:44 +02:00
Makefile.unix.macos macOS: Merge qcore_mac cpp and mm files 2020-03-12 06:07:35 +01:00
Makefile.unix.mingw Compile QRegularExpression into qmake 2020-05-05 18:41:20 +02:00
Makefile.unix.unix Move the readlink(2) wrapper to qcore_unix.cpp 2017-07-08 02:18:16 +00:00
Makefile.unix.win32 Compile QRegularExpression into qmake 2020-05-05 18:41:20 +02:00
Makefile.win32 Reimplement QSequentialIterable using QMetaSequence 2020-09-03 08:27:44 +02:00
meta.cpp qmake: Remove dead code 2019-04-05 07:48:34 +00:00
meta.h qmake: Remove dead code 2019-04-05 07:48:34 +00:00
option.cpp Make "qmake -qtconf my-qt.conf -query" possible 2020-10-23 21:11:46 +02:00
option.h Remove QMake's -createstub option 2019-08-03 14:48:10 +02:00
project.cpp Port qmake from QStringRef to QStringView 2020-06-05 09:07:14 +02:00
project.h Port qmake from QStringRef to QStringView 2020-06-05 09:07:14 +02:00
property.cpp Rename QLibraryInfo::location() to path() 2020-09-12 23:35:56 +02:00
property.h move generation of qconfig.cpp (and qt.conf) to qmake-based configure 2016-12-13 18:56:12 +00:00
qmake_pch.h Move QRegExp and its remaining mentions out of QtCore 2020-07-13 10:53:23 +02:00
qmake-aux.pro revert to building qmake with qconfig.cpp 2017-01-06 20:09:08 +00:00
qmake.pro Reimplement QSequentialIterable using QMetaSequence 2020-09-03 08:27:44 +02:00