I made a mistake, the working code is as follows: if(unicode) { QVarLengthArray<SQLTCHAR> buftmp(colSize); memset(buftmp.data(), 0, colSize*sizeof(SQLTCHAR)); r = SQLGetData(hStmt, column+1, SQL_C_TCHAR, (SQLPOINTER)buftmp.data(), 0, &lengthIndicator);
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/665188 Title: QVariant and ODBC for iSeries segmentation fault in text field. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/665188/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs