Hi all~ I've make a small service by qtservice, the service will query database by QSqlDatabse with MySql plugin.
on my developement platform, all thing work fine.
on a clean system which we will distributed our app to, the service itself work fine, but the QSqlDatabase object will be invalid while call "addDatabase", which usually means DB driver not found. i've already copy all qt dll and plugins to the same path with execute file, I also try to put them in system32, still not working~
it only happen if QSqlDatabase object is used in a qtservice application. it is working correctly while used in a general application.
so my problem is: how qtservice manage its plugin path? how to install plugin path correctly while we distribute developed qtservice application?
any answer would be appreciate~~
thx~~~
Bookmarks