Results 1 to 3 of 3

Thread: Reading data from xls file

  1. #1
    Join Date
    May 2009
    Posts
    129

    Default Reading data from xls file

    Hi All

    I am trying to read the data from xls file.

    I have been trying with sample code of

    http://www.qtcentre.org/forum/f-qt-p...file-8288.html

    while analysing the code ,i don't know where they are giving the input fille name and path..

    and i am not strong with QAxObject... while running the sample code..

    Qt Code:
    1. error: `QtValidLicenseForActiveQtModule' does not name a type.
    To copy to clipboard, switch view to plain text mode 

    Please help me...

    Thanks

    Yuvaraj R

  2. #2
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Thanked 69 Times in 67 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Reading data from xls file

    Seems to me that happens here:

    Qt Code:
    1. QAxObject* workbook = workbooks->querySubObject( "Open(const QString&)", exchange->getFilename() );
    To copy to clipboard, switch view to plain text mode 

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,593
    Thanks
    13
    Thanked 1,587 Times in 1,516 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Reading data from xls file

    What version of Qt are you using? Commercial or Open Source? A quick Google indicates this message was associated with versions before ActiveQt was included in the open source version. That string does not appear in my 4.6.2 source.

Similar Threads

  1. Reading/writing data to binary file
    By DiamonDogX in forum Qt Programming
    Replies: 3
    Last Post: 23rd July 2009, 19:24
  2. Replies: 7
    Last Post: 29th August 2008, 10:24
  3. QTextStream loses position while reading file
    By bjh in forum Qt Programming
    Replies: 2
    Last Post: 13th February 2008, 15:47
  4. FSWriteFork in MAC OS to write data to a file.
    By vishal.chauhan in forum General Programming
    Replies: 5
    Last Post: 2nd July 2007, 06:48
  5. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21

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.