Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
4.7.0
-
None
-
fc50d7ecaacfbfef1dbefd6ffdc083cb66c5633c (Qt/4, 30.9.2010, 4.7.2) e060138205c0a680ddc99237ad0c1b44ba3fe514 (qt/qtactiveqt/5.13)
Description
Simple example code that was working in 4.6.3: (Excel first cell reading)
excel = new QAxObject( "Excel.Application", 0 );
workbooks = excel->querySubObject( "Workbooks" );
workbook = workbooks->querySubObject( "Open(const QString&)", myFile );
sheets = workbook->querySubObject( "Worksheets" );
QAxObject* sheet = sheets->querySubObject( "Item( 1 )" );
QAxObject* cell = sheet->querySubObject( "Cells( 1, 1 )" );
qDebug() << "QVARIANT RESULT:" << cell->dynamicCall( "Value()" );
This return in qt 4.6.3:
QVARIANT RESULT: QVariant(QString, "test")
in qt 4.7.0:
QVARIANT RESULT: QVariant(, )
Attachments
For Gerrit Dashboard: QTBUG-13845 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
252196,6 | Fix QAxBase::dynamicCallHelper check of VT_BYREF | 5.12 | qt/qtactiveqt | Status: MERGED | +2 | 0 |