Hello, I'm trying to put some boost::tuple into the QSet.

The gcc error:
/usr/include/qt4/QtCore/qhash.h:759:36: instantiated from ‘QHash<Key, T>::iterator QHash<Key, T>::insert(const Key&, const T&) [with Key = boost::tuples::tuple<int, int, int>, T = QHashDummyValue]’
/usr/include/qt4/QtCore/qset.h:181:93: instantiated from ‘QSet<T>::const_iterator QSet<T>::insert(const T&) [with T = boost::tuples::tuple<int, int, int>]’
src/xxx.cpp:151:120: instantiated from here
/usr/include/qt4/QtCore/qhash.h:882:24: error: no matching function for call to ‘qHash(const boost::tuples::tuple<int, int, int>&)’
My qHash function:
Qt Code:
  1. inline uint qHash(const boost::tuples::tuple<int, int, int>& key) {
  2. return qHash(key.get<0>() + key.get<1>() + key.get<2>());
  3. }
To copy to clipboard, switch view to plain text mode 

Do you have any clue why my qHash function compiles but isn't seen during the insertion It's defined at the top of xxx.cpp