How to look at the data stored in a QMap?
How to look at the data stored in QMap without iterating开发者_开发知识库 through it? I am trying to debug an application using QMap with many keys, do you know a way to look at the data in QMap without iterating through each value?
This will dump the content of a QMap (and other Qt types) to stderr
:
qDebug() << yourQMap;
精彩评论