Results 1 to 2 of 2

Thread: Create excel file

  1. #1
    Join Date
    May 2012
    Posts
    1
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X

    Default Create excel file

    Hi,
    I want to create a excel 2008 file in Qt on mac operating system.

    Can anyone give me some tips?

    Thanks

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Create excel file

    Google is your friend: "excel 2008 xml library C++"

    http://www.libxl.com/

    http://support.microsoft.com/kb/953823

    http://www.codeproject.com/Articles/...Export-Library

    Microsoft's XML specification for Excel is probably the only way to do this on a Mac, since you can't use Excel's COM library there.

    But then if all you want is text output, the easiest thing to do is just write out a CSV (comma separated values) file using QTextStream. Excel will read that in with no problems at all.
    Last edited by d_stranz; 17th May 2012 at 18:42.

Similar Threads

  1. How can I Read Write Excel File
    By xingshaoyong in forum Qt Programming
    Replies: 6
    Last Post: 13th July 2011, 21:16
  2. problem to read excel file
    By keyurparekh in forum Qt Programming
    Replies: 4
    Last Post: 27th June 2011, 14:25
  3. Formatting Excel File
    By bismitapadhy in forum Qt Programming
    Replies: 2
    Last Post: 27th May 2009, 12:16
  4. How to read Excel file with Qt
    By HelloDan in forum Qt Programming
    Replies: 3
    Last Post: 13th May 2009, 21:27
  5. Read \Write Excel File using Qt
    By xingshaoyong in forum Qt Programming
    Replies: 4
    Last Post: 27th July 2007, 23:07

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.