Rebuilding QtSDK for MySql support
Hi,
I have installed lampp in my linux which has mysql support. I have created one database in it and I wanted to create a simple database query program in Qt.
When I tried to open the database it gave me mysql driver error. On googling I found i had to rebuild the QtSDK with mysql support. But I have installed QtSDK from a binary. The link I referred said there will be one QtSources folder in QtSDK where I need to configure and make, make install. But I find no such folder in my QtSDK. :(
Please Help. Am I doing something wrong ?
Thanks in Advance.
-Charvi.
Re: Rebuilding QtSDK for MySql support
You don't have to rebuild QtSDK. You need to download Qt source code (if you don't have it), install mysqlclient development package for your system and rebuild just the driver. You can follow the [wiki]Building the Database Plugins for QtSDK Users[/wiki] article. It's focused on Windows but the same rules apply on Linux.