On 7 March 2013 10:58, pengliang(彭亮) <pengliang at founder.com> wrote: > 2. so I need to use Qmap<long,Qstring>, > > I found qt source code below, so I think Qhash<long,Qstring> is ordered by > long, am I right? That's probably just the hash value. As far as you - user - are concerned, this is arbitrarily ordered.