Results 1 to 2 of 2

Thread: QML Read & Write XML

  1. #1
    Join Date
    Jul 2016
    Qt products
    Qt4 Qt5
    Windows Android

    Default QML Read & Write XML


    I need to write and read the xml file for storing the information like username, list of downloads etc., Can it possible in Qt 5.7?

    Please share the code snippets how to read and write the XML and store it in device.

  2. #2
    Join Date
    Jan 2006
    Graz, Austria
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Unix/X11 Windows

    Default Re: QML Read & Write XML

    Qt has had XML support since Qt3, newer versions expanded on that.

    Some of the classes are in the QtXml module, e.g. QDomDocument, others are even in QtCore, e.g. QXmlStreamReader and QXmlStreamWriter.

    All of these are very well documented, including official examples.


  3. The following user says thank you to anda_skoa for this useful post:

    Mathan (8th September 2016)

Similar Threads

  1. DVD write & read
    By in forum Qt Programming
    Replies: 1
    Last Post: 24th January 2013, 08:37
  2. HDD write and read speed
    By krisztiantobias in forum Qt Programming
    Replies: 5
    Last Post: 22nd October 2012, 15:30
  3. how to read and write pdf
    By weixj2003ld in forum Qt Programming
    Replies: 3
    Last Post: 7th May 2012, 15:11
  4. Replies: 2
    Last Post: 2nd November 2010, 06:15
  5. XML -read-write
    By hgedek in forum Qt Programming
    Replies: 2
    Last Post: 3rd September 2007, 19:10

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.