MYSQL plugin seems to be built properly, but not loaded in QtCreator [Windows]
I have downloaded the very latest QtSDK 4.6.2 and then compiled the mysql plugin sucessfully following the tutorials around the internet. The Qt was recompiled as well, passing to configure.exe the argument -qt-sql-mysql or -plugin-sql-mysql, not sure right now, but does it make difference in this case?
The problem is that QtCreator won't let the application load the driver:
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QODBC3 QODBC
Note: When i put the .dll files within the executable directory, it seems to run perfectly... So the problem must be about finding the dll correct path...
I have the .a and .dll in the proper places as far as i know, QT += sql in the .pro file..
I have no clue what is causing this problem, need a hand : )
Thanks in advance
Re: MYSQL plugin seems to be built properly, but not loaded in QtCreator [Windows]
EDIT: Today i spent a great deal of time looking for an answear, and made it work! I concluded it would work by putting the libmysql.dll renamed to libmysql.lib in the %QTDIR%/bin folder.
Thanks anyway, if you have a neater solution, feel free to post : `)