PDA

View Full Version : Using QtSDk with Mysql 64bit



cia.michele
29th August 2011, 13:59
GoodAfternoon to all,
I'd like to know, how, and if is it possible to build a mysql driver to comunicate with Qt, using MySQL 64bit. I try it, but i got a lot of error like this:
C:\QtSDK\src\src\plugins\sqldrivers\mysql-build-desktop\..\..\..\sql\drivers\mysql\qsql_mysql.cpp: 223: error: undefined reference to `mysql_character_set_name@4'
I thought that not recognize the library and I try to create the .a file from the .lib but, reimp don't create the .DEF file.

Is it a normal behavior? I'm using mysql 5.1.55 64bit and Qt 4.7.4 (32 bit) it is possible download Qt 64bit? in which way? and I could use again mingw? or is only 32bit?

Thanks for your time

Michele