Hi,
I've recently noticed that I'm not getting any output from QXmlStreamWriter...
As I didn't change the code I presume something happened to Qt?

I've even tried this example:
Qt Code:
  1. #include <QtGui>
  2. #include <QtXmlPatterns>
  3.  
  4. int main(int argc, char* argv[])
  5. {
  6. QApplication app(argc, argv);
  7.  
  8. QFile *file = new QFile("test.xml");
  9. file->open(QFile::WriteOnly | QFile::Text);
  10. QXmlStreamWriter xml(file);
  11. xml.writeStartElement("template");
  12. xml.writeStartElement("document");
  13. xml.writeEndElement();
  14. xml.writeEndDocument();
  15.  
  16. return 0;
  17. }
To copy to clipboard, switch view to plain text mode 

It compiles ok, but the file test.xml is empty...
I'm using Kubuntu 9.04. Did anyone notice any problems with Qt4 and XML?

Thanks in advance for your help,

Regards,
Bill