PDA

View Full Version : QSql and sqlite compilation



Zergi
24th February 2011, 21:57
Hi

I have a little problem. I wrote a program that use QSql module with Sqllite, so everything is working when I run program where qt is installed but when I run program on "clean" windows without Qt then program runs but it dosent read sqlbase. I added to folder where is program dlls.

QtSql4.dll
QtGui4.dll
QtCore4.dll
libgcc_s_dw2-1.dll
mingwm10.dll

Did i forgot about something? Or i made something wrong with building?

Best Regards

tbscope
25th February 2011, 06:27
You forgot the sql plugins, and probably others too. Note that these need to be put in a specific folder.

Use a "dependency walker" tool, it will tell you what is needed.

http://doc.qt.nokia.com/4.7/deployment-windows.html