Qt 6.8.3 with BlackBerry 10 (QNX 8 / ARMv7) patches
 
 
 
 
 
 
Go to file
Marc Mutz 8fc37349e3 QLibraryStore: cut out the QMap middle-man
In Qt 6, QMap is just a shared pointer to a std::map.

QLibraryStore::libraryMap is never copied, though, so the implicit
sharing that QMap adds on top of std::map is useless.

Use the underlying std::map directly.

Yes, the std::map API is a bit raw around the edges (std::pair
value_type), but we're professionals here.

This one saves more than 3.7KiB in TEXT size on optimized AMD64 GCC 11
C++20 Linux builds.

As a drive-by, port iterator- to range-based loops, and take advantage
of loop variables being real references now.

Change-Id: I1a8970b21e34a69d88a122f31699a51fd982feb9
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2024-02-16 13:20:50 +00:00
.github/workflows Repair github action workflow 2021-11-10 18:57:33 +01:00
LICENSES Update QLocale and calendar data to CLDR v44.1 2024-02-02 08:26:03 +01:00
bin CMake: Don't strip debug builds with qt-cmake-private-install in CI 2023-11-03 18:24:46 +02:00
cmake Fix framework headers copying when module don't have header files 2024-02-15 14:04:44 +01:00
coin Fix mount command 2024-02-15 09:52:52 +02:00
config.tests Remove the mandatory x86-64 features from its feature list 2023-05-31 14:55:37 -07:00
dist
doc Change doc snippet license 2024-02-02 16:52:11 +00:00
examples Doc: Resolve qdoc link warnings 2024-02-14 21:47:28 +01:00
lib
libexec CMake: Add a config.redo script similar to qt5's config.status 2023-09-20 21:20:13 +02:00
mkspecs Bump iOS minimum deployment target to iOS 16 2024-02-14 04:17:16 +01:00
qmake Correct license in qmake/ 2024-02-13 13:55:02 +01:00
src QLibraryStore: cut out the QMap middle-man 2024-02-16 13:20:50 +00:00
tests QTimer: use QTest::ingoreMessage() for negative internvals tests 2024-02-15 22:35:00 +02:00
util Minor tidy-up of CldrAccess.__enumMap: revise comment, modernize code 2024-02-13 15:58:43 +01:00
.cmake.conf Remove year from generic Qt copyright information 2024-02-14 09:30:07 +00:00
.gitattributes
.gitignore Git ignore Visual Studio CMake build directories 2023-11-24 23:42:05 +01:00
.lgtm.yml
.tag
CMakeLists.txt cmake: build repo helpers - fine-grained test/example options 2024-02-08 23:30:29 +08:00
config_help.txt Add configure mappings for QT_BUILD_<TESTS|EXAMPLES>_PROJECT 2024-02-14 20:47:29 +00:00
configure Change configure license 2024-02-02 15:23:02 +00:00
configure.bat Change license of configure.bat file 2024-02-07 12:15:09 +00:00
configure.cmake Remove year from generic Qt copyright information 2024-02-14 09:30:07 +00:00
dependencies.yaml
qt_cmdline.cmake Add coverage and coverage-gcov features 2023-09-22 15:54:30 +02:00