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:
    0_1518103660320_b01dcee6-75f4-4e9c-bc93-1bd6d655457a-image.png

    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