Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Database Export in QT GUI Application.
MyQT last edited by
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.
_compiler last edited by
I think the easiest what to reach this, it's to save you QTableView representation in csv format
ChrisW67 last edited by
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.