How to use libmysql with Qt in windows?

746 views Asked by At

I have been working on a project on a Linux operating system. I was using Qt for this purpose and was linking it to libmysqlclient to connect to mysql database. I had used the Mysql Connector-C for the connection. Now I need to shift this project to Windows. Though everything works fine, I am unable to connect to the Mysql database. I guess the analogous library for windows will be libmysql.lib. But I am unable to use it with Qt. Any help is greatly appreciated. I would prefer using MinGW compiler though MSVC shall also do.

0

There are 0 answers