[Qt-interest] 答复: Can not load qsqlite4.dll

吴海峰 wuhf at nari-relays.com
Wed Oct 21 03:12:32 CEST 2009


Yes. I have tried the instructions described in the link you provided already yesterday. But no lucks.

So in the previous mail, I use QPluginLoader to check whether the qsqlite4.dll can be loaded.
The result is that it produced the output "Program is not installed correctory. Reinstalling it may fix the problem", which is caused by the missing of manifest file according to MSDN. But the qsqlite plugin is compile with the mainfest embed mode. I wander why it still produce the result which was caused by the missing of manifest file. Actually it is involved.

-----邮件原件-----
发件人: KC Jones [mailto:kc at asperasoft.com] 
发送时间: 2009年10月21日 8:58
收件人: 吴海峰
主题: Re: [Qt-interest] Can not load qsqlite4.dll

I also struggled to make this work.  There was no problem when I was
developing my app in Visual Studio, but when I tried to deploy /
install it, I had the same problem you describe.

Have you copied the plugin into the Plugins directory in your
executable directory (win) or app bungle (mac)?  Have you reviewed all
the documents about deploying Qt applications with plugins?  The info
is here:
Win: http://doc.trolltech.com/4.5/deployment-windows.html#qt-plugins
Mac: http://doc.trolltech.com/4.4/deployment-mac.html#qt-plugins

>
>          In logfile, it proves that it enters into the " qDebug() <<
> pLoader->errorString();" logic.
>
>          It says "Program is not installed correct. Reinstalling it may fix
> the problem" which indicated that manifest
>
>     file is missing. But sqlite module is compiled in plugin mode and it
> embeds the mainfest already. Why it still produce the error above? I can not
> load qsqlite4.dll now.
>
>          Plz help me out. Any suggestions and ideas are welcome. Thanks in
> advance.




More information about the Qt-interest-old mailing list