PDA

View Full Version : Reading data from xls file



addu
7th August 2009, 07:22
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-programming-2/t-how-can-i-read-write-excel-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..


error: `QtValidLicenseForActiveQtModule' does not name a type.

Please help me...

Thanks

Yuvaraj R

franz
7th August 2009, 08:02
Seems to me that happens here:


QAxObject* workbook = workbooks->querySubObject( "Open(const QString&)", exchange->getFilename() );

ChrisW67
6th May 2010, 10:33
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.