Hello. I want to connect to mysql database in my app. So, I compiled mysql driver and placed 2 dlls in QTSDK\Desktop\Qt\4.8.1\mingw\plugins\sqldrivers directory. I moved libmysql.dll into Windows too. Unfortunately, while running app from qt creator, it does not work.

I set QT_DEBUG_PLUGINS to 1, and get that error (translated):

Cannot load library(…)/plugins/sqldrivers/qsqlmysqld4.dll: The specified module cannot be found.”
I copied required qt libraries (core, gui) next to project’s executable and directly it works just fine. But running it that way is so uncomfortable…

Thanks in advance