QMap only works when declared as a pointer

Printable View