Results 1 to 3 of 3

Thread: How to export data from QSql classes to XML format

  1. #1
    Join Date
    Jun 2010
    Posts
    3
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question How to export data from QSql classes to XML format

    How to export data from QSql classes to XML format ?

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: How to export data from QSql classes to XML format

    Query your data from your table and write it to an XML file using QDomDocument or QXmlStreamWriter.

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

    behrouz (29th June 2010)

  4. #3
    Join Date
    Jun 2010
    Posts
    3
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: How to export data from QSql classes to XML format

    Quote Originally Posted by Lykurg View Post
    Query your data from your table and write it to an XML file using QDomDocument or QXmlStreamWriter.
    thanks , But I mean, Is there a method for this purpose in QtSql ? Because in .NET, DataSets have some method to read and write data from XML.

Similar Threads

  1. Qt to Matlab (mat format) export data to Matlab .mat format -v4
    By windsword in forum Qt-based Software
    Replies: 4
    Last Post: 26th February 2013, 20:01
  2. how to export data to a .CSV file
    By qtprgrmr in forum Qt Programming
    Replies: 1
    Last Post: 26th May 2010, 16:22
  3. Data file and QSql
    By OverTheOCean in forum Qt Programming
    Replies: 3
    Last Post: 30th April 2010, 23:04
  4. Export to ods format
    By estanisgeyer in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2009, 09:40
  5. How to export data from QTableView to Ms Excell
    By joseph in forum Qt Programming
    Replies: 2
    Last Post: 19th February 2009, 14:19

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.