I try deploy my Qt application to other computer. I'm use PostgreSQL for database. And I have copy all library need in folder where my exe saved. I copy all Qt library and Postgres library. I copy sqldrivers folders too. But, If I try run my application, I always get "Driver not loaded" messages.
I try delete key "HKEY_CURRENT_USER\Software\Trolltech\Organization Defaults\Qt Plugin Cache 4.5.false", and run again my application. But still get "Driver not loaded" messages.
This is my folder structure
Qt Code:
TAHEDE TAHEDE\tahede.exe TAHEDE\QtCore4.dll ............. ............. TAHEDE\libpq.dll ............. ............. TAHEDE\sqldrivers\qsqlpsql4.dll TAHEDE\sqldrivers\qsqlpsqld4.dllTo copy to clipboard, switch view to plain text mode
Btw, I'm use Ms. Windows and build my application with Release build mode.
Bookmarks