- 
    Bug 
- 
    Resolution: Fixed
- 
    P2: Important 
- 
    6.5.2, 6.6.0 Beta2, 6.8.0 Beta1
- 
    None
- 
    Ubuntu 20.04, Clang 15, GCC 11, GCC 9
- 
        3
- 
        878077de2 (dev), 81adaf909 (dev), 72c3ae0a8 (6.8), 13d2398e0 (6.7), 705cec8ac (tqtc/lts-6.5)
- 
        Foundation Sprint 110, Foundation Sprint 111, Foundation Sprint 112
Besides QTBUG-116080, we also have an unintended implementation of qHash(bool) via the 1-to-2-arg  adapter (QTBUG-116971) and qHash(int) . The two functions differ in the relative sequence of seed xoring and bit-mixing, making
. The two functions differ in the relative sequence of seed xoring and bit-mixing, making 
- qHash(1, seed),
- qHash(true, seed)
produce different values, for general seed != 0.
This doesn't look fixable in Qt 6, as all involved overloads are inline, therefore immutable.
- relates to
- 
                    QTBUG-116064 [REG SiC 6.4 -> 6.5] qHash(qfloat16(x)) is now ambiguous on GCC13 -         
- Closed
 
-