PDA

View Full Version : My application can't connect to database when deploy it???



gtthang
15th February 2006, 02:46
Hi all,

My application (deveploped on Qt4) has a connection to the Postgres (8.0.3) database, it works when I deploy it on any computer installed Qt4. But when I deploy on a non-Qt computer, my app still runs but it can't connect to database although I copied all libraries of Qt (in bin directory: QtCore4.dll, QtGui4.dll,...) to that computer.

Can you show me why?

Thanks very much!

zlatko
15th February 2006, 11:01
You need also copy libpq.dll and qsqlpsql.dll

p.s. Use something like FileMonitor (http://www.sysinternals.com/) for searching what dll and where needed by your app in other comp