[Qt-interest] Problem with QDomNodeList on Mac OS X Snow Leopard
Tex79 at web.de
Tex79 at web.de
Sat Dec 26 13:30:35 CET 2009
Hi list,
i am trying to compile my program that uses QDomNodeList using Qt 4.6 on Mac OS X Snow Leopard, but i keep getting this error message:
/Library/Frameworks/QtCore.framework/Headers/qglobal.h:2228: error: no type named 'const_iterator' in 'class QDomNodeList'
Here is some example code:
QDomNodeList nodes = _doc.elementsByTagName("mytag");
QDomElement el;
foreach(QDomNode node, nodes)
{
el = node.toElement();
list << el.attribute("name");
}
Thanks in advance!
___________________________________________________________
Preisknaller: WEB.DE DSL Flatrate für nur 16,99 Euro/mtl.!
http://produkte.web.de/go/02/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1748 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091226/f47f11e8/attachment.bin
More information about the Qt-interest-old
mailing list