[Qt-interest] odbc and unicode on qt 4.7.x, x>=2
wim delvaux
wim.delvaux at adaptiveplanet.com
Tue Oct 18 09:03:30 CEST 2011
Hi all,
For some reason my QSqlDriver::hasFeature reports FALSE on unicode support.
This is for a mysql database accessed using odbc on win7.
UTF-8 support is enabled in the DSN and the database is set up properly.
I am using the 5.1.9 connector/c of mysql.
I had this problem before when using 5.1.7 but then there was a bug in that
release where the driver did not return support for WCHAR properly. AFAIK
that problem was fixed in 5.1.8 and above. To make my application work back
then I forced the QSQLDRIVER to using Unicode.
I am currently debugging it in Qt but compiling Qt under windows is very slow
and qt is very big :)
So I could use suggestions and perhaps feedback from those who have this
working.
Thx
W
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111018/075e35ef/attachment.html
More information about the Qt-interest-old
mailing list