qt5base-lts/tests/auto
Giuseppe D'Angelo 81e893fb2d QHash: support std::hash as hashing function
In addition (and as a fallback) from requiring qHash, add support
for std::hash specializations. This catches two birds with one stone:

1) users of Qt can simply specialize std::hash for their datatypes,
and use them in both QHash and stdlib unordered associative containers;

2) we get QHash support for any (stdlib) datatype that is hashable
without having to overload qHash for them.

[ChangeLog][QtCore][QHash] QHash, QMultiHash and QSet now support
for key types anything that can be hashed via std::hash, instead of
always requiring a qHash() overload.

Change-Id: Ib5ecba86e4b376d318389500bd24883ac6534c5f
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
2020-11-30 17:16:22 +01:00
..
cmake CMake: Change generated resources naming 2020-11-24 21:51:29 +01:00
concurrent Fix compiler warning from comparing signed to unsigned 2020-11-27 07:28:25 +00:00
corelib QHash: support std::hash as hashing function 2020-11-30 17:16:22 +01:00
dbus QChar: make construction from integral explicit 2020-11-15 14:41:05 +01:00
gui Use QCOMPARE(,) in preference to QVERIFY(qFuzzyCompare(,)) 2020-11-27 13:26:52 +01:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Blacklist authenticationCacheAfterCancel on Ubuntu 20.04 2020-11-24 20:50:42 +00:00
opengl Remove tst_QGL 2020-08-28 11:43:11 +02:00
other Android: fix tst_android test 2020-11-25 21:08:10 +00:00
printsupport Fit tst_qprinterinfo in case there are printers in local network 2020-11-21 06:11:37 +01:00
shared Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
sql Cleanup remaining QVariant::Type uses in Qt Sql 2020-10-17 12:01:54 +02:00
testlib Android: exclude faulty tst_selftests 2020-11-25 23:08:09 +02:00
tools Android: exclude host tools tests for android and ios 2020-11-16 11:35:33 +00:00
widgets QHeaderView: allow un-sorting of models 2020-11-30 18:16:21 +02:00
xml QChar: make construction from integral explicit 2020-11-15 14:41:05 +01:00
.prev_CMakeLists.txt CMake: Regenerate projects 2020-09-22 19:08:53 +02:00
auto.pro Don't error out when configuring Qt on a headless system 2020-09-26 14:36:13 +02:00
CMakeLists.txt CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00
network-settings.h Network self-test: make it work with docker/containers 2020-11-17 19:56:06 +01:00