qt5base-lts/qmake/library
Yuhang Zhao bd7fa4a537 Windows: centralize how we handle error messages
Currently QtBase contains multiple implementation of how to get the Win32
and COM error messages, and they are almost exactly the same, what's worse,
Qt already has a private QSystemError class to do such things, so we are
re-inventing the wheel in many places. This patch removes all other custom
error message implementations besides the QSystemError one. And since there
are a lot of places need the COM error message, move the implementation to
QSystemError so that it can handle both Win32 error and COM error.

Since I'm touching these lines anyway, break them into short lines if they
are above the length limit.

Change-Id: I1067c874011800303f0f114b5cb8830ac6810fc0
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2022-11-16 19:44:43 +08:00
..
ioutils.cpp Windows: centralize how we handle error messages 2022-11-16 19:44:43 +08:00
ioutils.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
proitems.cpp Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
proitems.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmake_global.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmakebuiltins.cpp Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
qmakeevaluator_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmakeevaluator.cpp Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
qmakeevaluator.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmakeglobals.cpp Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
qmakeglobals.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmakeparser.cpp Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
qmakeparser.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmakevfs.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmakevfs.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
registry_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
registry.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00