Results 1 to 4 of 4

Thread: Write XML file in QML?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Write XML file in QML?

    You can easily do that in the C++ part of your program.
    Qt has a couple of XML processing APIs, e.g. QXmlStreamReader and QXmlStreamWriter or QDomDocument.

    If you also need this as a model, then you might want to consider writing a list model that internally loads and saves XML

    Cheers,
    _

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

    Ginsengelf (11th January 2016)

Similar Threads

  1. write on a word file from qt
    By achraf1194 in forum Newbie
    Replies: 3
    Last Post: 13th August 2015, 11:32
  2. Replies: 2
    Last Post: 13th January 2014, 07:27
  3. Best way to write to a file
    By The 11th plague of Egypt in forum Newbie
    Replies: 4
    Last Post: 25th August 2011, 14:43
  4. How to write the values into Pdf file?
    By Gokulnathvc in forum Newbie
    Replies: 1
    Last Post: 11th July 2011, 22:26
  5. Replies: 2
    Last Post: 2nd November 2010, 05:15

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.