qt5base-lts/qmake
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
..
doc Doc: Clarify qmake's c++latest CONFIG value 2022-06-29 18:32:05 +02:00
generators Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
library Windows: centralize how we handle error messages 2022-11-16 19:44:43 +08:00
cachekeys.h Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
CMakeLists.txt Replace the syncqt.pl script with syncqt tool 2022-09-27 13:12:11 +02:00
main.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
meta.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
meta.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
option.cpp Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
option.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
project.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
project.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
property.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
property.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
propertyprinter.cpp Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
propertyprinter.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmake_pch.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmakelibraryinfo.cpp Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qmakelibraryinfo.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00