开发者

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;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜