qt6-bb10/src
Marc Mutz c839efb07a QtGui: compile-optimize inline swap functions
Instead of using the overly-generic qSwap() monster, use

- qt_ptr_swap() for swapping raw pointers
- member-swap for swapping smart pointers
- std::swap() for swapping scalars

In QtCore, this has proven to give a nice reduction in compile time
for Qt users, cf. b1b0c2970e.

Pick-to: 6.3 6.2
Task-number: QTBUG-97601
Change-Id: I987ff95e8751a22a4f283655d8225dd16de21178
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-03-19 16:56:08 +01:00
..
3rdparty Add missing install of pnglibconf.h for static builds 2022-03-16 20:19:22 +01:00
android Android: use empty Intent to clear clipboard data on API < 28 2022-03-18 18:35:03 +01:00
concurrent Do not highlight the Image Scaling Example anymore in Qt Creator 2022-02-17 18:16:42 +01:00
corelib qversiontagging: Fix the imp prefix for 32 bit arm 2022-03-19 16:12:57 +02:00
dbus Misc: Do not depend on transitive includes 2022-03-17 17:14:37 +01:00
entrypoint QtBase: replace windows.h with qt_windows.h 2021-11-23 12:53:46 +08:00
gui QtGui: compile-optimize inline swap functions 2022-03-19 16:56:08 +01:00
network Fix -Wunused-but-set-variable in QTcpSocket documentation snippet 2022-03-18 19:47:59 +01:00
opengl Misc: Do not depend on transitive includes 2022-03-17 17:14:37 +01:00
openglwidgets Compose render-to-texture widgets through QRhi 2022-03-11 21:25:00 +01:00
platformsupport Misc: Do not depend on transitive includes 2022-03-17 17:14:37 +01:00
plugins macOS: Remove dead code for focus ring handling in Mac style 2022-03-18 19:47:59 +01:00
printsupport Misc: Do not depend on transitive includes 2022-03-17 17:14:37 +01:00
sql Sql: Do not depend on transitive includes 2022-03-17 17:14:37 +01:00
testlib Fix deprecated use of QBA/Q*String::count 2022-03-15 20:18:56 +01:00
tools uic: use C string literals for setObjectName() 2022-03-18 18:35:03 +01:00
widgets QObject: restore flags printing in dumpObjectTree() 2022-03-19 12:02:24 +01:00
xml Fix deprecated uses of QScopedPointer 2022-03-08 15:44:17 +01:00
CMakeLists.txt