I'm trying to make a distribution directory with my application. I've copied several Qt DLLs to that directory, and the program seems to be working, with one exception: it doesn't seem to find SQL plugin for SQLite. Copying qtsqlite.dll to the directory, doesn't allow my application to open or create SQLite files. What must be the direcotry structure or which additional files need to be copied so that the program can read the database?
相关问题
- How does the setup bootstrapper detect if prerequi
- QML: Cannot read property 'xxx' of undefin
- QTextEdit.find() doesn't work in Python
- Inheritance impossible in Windows Runtime Componen
- how to get running process information in java?
相关文章
- ubuntu20.4中c#通过c++库调用python脚本
- 如何让cmd.exe 执行 UNICODE 文本格式的批处理?
- 怎么把Windows开机按钮通过修改注册表指向我自己的程序
- Qt槽函数自动执行多遍
- Warning : HTML 1300 Navigation occured?
- Getting errors / failing tests when installing Pyt
- How do you make an installer for your python progr
- Bundling the Windows Mono runtime with an applicat
you can use depends.exe to see exactly what the dependencies of your exe are and make sure they're all included.
Also, read this page about qt plugins. they are supposed to be in a specific directory called "plugins" and not in the main directory with all the other dlls.
Most probably, the qtsqlite.dll itself depends on original SQLite DLL's which you probably need to copy as well.
Don't forget to include an LGP license copy in your distribution as well as pointers to the original download ressources of the libs you include and their sources. To stay with the law :-)
Thanks to the link @shoosh provided, I was able to fix the problem. I needed to create sqldrivers subdirectory in the distribution dir with qsqlite.dll library inside. But that was just step one. Do you have any tips and resources on creating a full-blown Windows installer? I'm mainly a Linux programmer so this area is unknown to me.