[Qt-interest] what is wrong with this Complex Data Structure
Meir Yanovich
meiry242 at gmail.com
Tue May 11 10:16:01 CEST 2010
Hi
i have this complex type to hold complex JSON data
when i try to insert data to it it allways gives me compilation errors:
here is the code :
QMap<QString,QList<QMap<QString,QString > > > ResultMap;
QList<QMap<QString,QString > > result_set;
for(int i = 3;i<3;i++)
{
QMap<QString,QString> result_set_map;
result_set_map.insert("www","wwwww");
result_set.append( result_set_map): <--------------------This is
where the error
}
ResultMap.insert("notification_info", result_set);
The error im getting is :
error C2143: syntax error : missing ';' before ':'
error C2143: syntax error : missing ';' before ':'
what is wrong here ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100511/c49e0383/attachment.html
More information about the Qt-interest-old
mailing list