Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Database Export in QT GUI Application.
Forum Updated to NodeBB v4.3 + New Features

Database Export in QT GUI Application.

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MyQT
    wrote on last edited by
    #1

    Hi,

    I have created QT-GUI application, want to export a data which is present in database in Excel file or SVG file Format.
    Can you please suggest the best way of doing this.
    Is there any function available in QT for this.

    1 Reply Last reply
    0
    • _ Offline
      _ Offline
      _compiler
      wrote on last edited by
      #2

      I think the easiest what to reach this, it's to save you QTableView representation in csv format

      1 Reply Last reply
      0
      • C Offline
        C Offline
        ChrisW67
        wrote on last edited by
        #3

        On Windows you can automate Excel using ActiveQt, use QODBC and the Microsoft Excel ODBC driver, or write a CSV or similar file to be imported by Excel.

        To write an SVG file you can use QXmlStreamWriter.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved