I think this may of been posted before but if you typedef a QMap,
QList, etc. you cannot view the contents with the debugging helpers,
e.g.:

#include <QtCore/QCoreApplication>
#include <QMap>
#include <QString>
#include <QListv

int main(int argc, char *argv[])
{
 QCoreApplication a(argc, argv);
 QMap<QString, QString> map1;
 map1["Hello"] = "World!";

 typedef QMap<QString, QString> Map;
 Map map2;
 map2["Hello"] = "World!";

 QList<int> list1;
 list1.append(1234);

 typedef <int> List;
 List list2;
 list2.append(1234);
 return a.exec();
}

map1 and list1 are fine, map2 and list2 won;t display.  I am on the
latest 1.2.1 on XP SP3.
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to