ok thanks, i learned a bit more today. I over read the qHash function overload thing.
Best Regards > Am 21.11.2015 um 05:46 schrieb Thiago Macieira <thiago.macie...@intel.com>: > >> On Saturday 21 November 2015 05:33:23 NoRulez wrote: >> Is this also possible for keys in a QHash for example? > > Any type that is default constructible, comparable and for which qHash() > works > can be used as a key. > > So, did you declare the qHash function for your enum? > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest