diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-05-14 09:23:53 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-05-17 18:49:31 +0200 |
commit | e4309df71ae99c20b5681ddf1476eca138cee986 (patch) | |
tree | f919318870f4ad94a3c2c5e3843a2f7703303bf7 /tests/auto/corelib/tools/qpoint/CMakeLists.txt | |
parent | 9080a810ad9ca49c7a684beca602b02e9c89500a (diff) |
qobject_p.h: remove unused qreadwritelock.h include
Only qcoreapplication_p.h uses a QReadWriteLock (tanslationMutex), so
include it only there.
This include has caused QAtomicPointer<QReadWriteLockPrivate> to
percolate to the top-5 of template instantiation hogs when compiling
QtWidgets, as reported by Clang -ftime-trace.
This patch improves that, because qcoreapplication_p.h isn't part of
the PCH and is much less frequently included into QtWidgets TUs (68
instead of 142 times).
Pick-to: 6.3 6.2
Change-Id: I2518040d83a04e7cef0645d7f4bf641fb50f49ff
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/corelib/tools/qpoint/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions