Important: Please read the Qt Code of Conduct -

QSqlite query to excel file specific layout

  • Hi all,

    I made a QT application which gives you the abbility to search data from a database.
    Now I would like to export some data from the database to an excel file. For the excel file I would like to use a pre defined layout.
    Lets say the excel layout looks as followed:

    In the columns I would like to write some data from the data base. Can somebody give me some hints or examples on how to do this?

    Should I create an excel file in a directory and use this as a template? Or should I program the layout of the excel file in qt?

    Thanks in advance,
    Kind regards,
    Toon Mertens

Log in to reply