Quote Originally Posted by beemaneni View Post
i declared names of variables just for example.
Your error is not related to variable names but type names.
A template, in this case QMap, needs type names.

See comment #4

Cheers,
_