Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which Qt DLL's should I copy to make my program stand-alone?

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?

like image 253
kyku Avatar asked Mar 05 '09 12:03

kyku


1 Answers

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.

like image 120
shoosh Avatar answered Oct 06 '22 00:10

shoosh