wirasto
23rd November 2009, 07:08
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\OrganizationD efaults\Qt Plugin Cache 4.5.false", and run again my application. But still get "Driver not loaded" messages.
This is my folder structure
TAHEDE
TAHEDE\tahede.exe
TAHEDE\QtCore4.dll
.............
.............
TAHEDE\libpq.dll
.............
.............
TAHEDE\sqldrivers\qsqlpsql4.dll
TAHEDE\sqldrivers\qsqlpsqld4.dll
Btw, I'm use Ms. Windows and build my application with Release build mode.
I try delete key "HKEY_CURRENT_USER\Software\Trolltech\OrganizationD efaults\Qt Plugin Cache 4.5.false", and run again my application. But still get "Driver not loaded" messages.
This is my folder structure
TAHEDE
TAHEDE\tahede.exe
TAHEDE\QtCore4.dll
.............
.............
TAHEDE\libpq.dll
.............
.............
TAHEDE\sqldrivers\qsqlpsql4.dll
TAHEDE\sqldrivers\qsqlpsqld4.dll
Btw, I'm use Ms. Windows and build my application with Release build mode.