[Development] QHash<const char*,..>

Thiago Macieira thiago.macieira at intel.com
Thu Jan 18 16:47:11 CET 2018

On Thursday, 18 January 2018 06:12:42 PST René J.V. Bertin wrote:
> It took me a while to figure out why my QHash map of a const char* to
> something else didn't work despite containing the expected key,value
> combinations. I understand that the bug was in my code rather than in
> QHash, because the class is not designed to work with basic data types.

It works with basic data types just fine. It just doesn't decode raw pointers 
and compare pointed contents, like you expected.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Development mailing list