Results 1 to 3 of 3

Thread: Reading data from xls file

  1. #1
    Join Date
    May 2009

    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

    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...


    Yuvaraj R

  2. #2
    Join Date
    Jul 2009
    Enschede, Netherlands
    Thanked 69 Times in 67 Posts
    Qt products
    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
    Brisbane, Australia
    Thanked 1,587 Times in 1,516 Posts
    Qt products
    Qt4 Qt5
    Unix/X11 Windows
    Wiki edits

    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


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.