Ad 1. What did you already try? Did you follow the manual and/or our wiki?
Ad 2. You're probably missing debug version of the libraries. That's nothing wrong unless you want to debug Qt code with a debugger.
Ad 1. What did you already try? Did you follow the manual and/or our wiki?
Ad 2. You're probably missing debug version of the libraries. That's nothing wrong unless you want to debug Qt code with a debugger.
I managed to compile qmysql plugin, but I don't know where should I put it?
I fail to find Qt's plugin directory.
I *believe* that would solve my problem?
/usr and subfolders, /Library and subfolders, /Developer and subfolders...
Nothing that looks like the right place to put mysql plugin in...
No, if you placed your driver in plugins/sqldrivers, this should be enough (just remember to instantiate a Q(Core)Application object as this is the place where plugins are loaded).
Do you have MySql client libraries installed? Run ldd on the driver and see if it can see all its dependencies.
Yes, I have MySql libs installed.
I recompiled the driver, and it worked. It could be the location of the MySql libs, or maybe that I updated to 10.6.1 (along with XCode), or something completely different... The important thing is that it worked![]()
Thanks for keeping me on the right track![]()
Bookmarks