[Qt-interest] QMap nd Python
董隆超
donglongchao at 163.com
Thu Jul 29 10:43:10 CEST 2010
I can not understand you very well.Maybe what you need is something like this:
QHash<QString,QStirng> qh;
qh=QVariant.fromMap({"CMD":"this is the command."})
Longchao
>Are there any examples, or does anyone know how to put a QMap into a dict, and
>vice versa?
>
>I know about PySide, and PyQt, but I was hoping there was a way to do it quick
>and dirty, all in Python and Qt. I only need to serialize one dict both ways.
>
>Thanks!
>
>
>
>
>_______________________________________________
>Qt-interest mailing list
>Qt-interest at trolltech.com
>http://lists.trolltech.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100729/92cfab2b/attachment.html
More information about the Qt-interest-old
mailing list