On 08/06/2012 09:16 PM, David C. Rankin wrote:
On 08/06/2012 08:56 PM, David C. Rankin wrote:
.obj/qsql_odbc.o ../../../../src/sql/drivers/odbc/qsql_odbc.cpp ../../../../src/sql/drivers/odbc/qsql_odbc.cpp: In function 'QString qGetStringData(SQLHANDLE, int, int, bool&, bool)': ../../../../src/sql/drivers/odbc/qsql_odbc.cpp:285:21: error: cannot convert 'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}' for argument '6' to 'SQLRETURN SQLGetData(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLPOINTER, SQLLEN, SQLLEN*)'
I think this is me. I have seen this before with TQt3 -- now I just have to remember how I fixed it :)
It was me -- sort of. It built on i686 and did not build on x86_64. All I did was to add:
sed -i 's|lib64|lib|g' mkspecs/linux-g++-64/qmake.conf
and
-I/usr/include/libiodbc \
and it is building again. Sorry about the noise :)