Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.3, 4.8.4, 5.0.0
-
None
-
DB2 Express C 9.7.2 on x86_64.
-
40c3f4a5a567a536cd1cbf3ab089da52627650df c8e34ed678145f2e5709d39007e27e186d1bc1f9
Description
When compiling the QDB2 driver, there is an error at src/sql/drivers/db2/qsql_db2.cpp:1033, complaining about an ambiguous call to QVariant constructor.
The value returned from qGetBigIntData (which is SQLBIGINT) is defined in the DB2 driver headers to be long, on 64-bit platforms, and QVariant doesn't have a matching constructor.
A solution might be to cast the returned value from qGetBigIntData to qint64.
Attachments
For Gerrit Dashboard: QTBUG-20172 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
48023,2 | Fix DB2 driver X64 Linux Build | stable | qt/qtbase | Status: MERGED | +2 | 0 |
48216,2 | Fix DB2 driver X64 Linux Build | 4.8 | qt/qt | Status: MERGED | +2 | 0 |