Returns the hash value for the key, using seed to seed the calculation.
This function was introduced in Qt 5.4.