From the docs:
Your qHash() function does not match any of these signatures. Read the compiler's error message and compare it to what your code says.For a key type K, the qHash function must have one of these signatures:
uint qHash(K key);
uint qHash(const K &key);
uint qHash(K key, uint seed);
uint qHash(const K &key, uint seed);
Bookmarks