Hmm... I'm sorry but I have to admit that I don't fully understand what do you mean. By PSQL run time library you mean qsqlpsql.dll? That is giving the error:
LoadLibraryW("C:\QtSDK\Desktop\Qt\4.8.0\mingw\plug ins\sqldrivers\qsqlpsql.dll") returned NULL. Error: %1 is not a valid Win32 application (193).
So far I have just checked my .exe file in Dependency Walker. Which file (= referred Qt plugin) do you suggest to check?
Thanks for you time!
UPDATE:
I checked the qsqlpsql.dll with dependency walker and found out that openssl related dlls were x64. Also after debugging a while I found out that one postgresql dll (libintl.dll) was missing too. Anyway now the driver is found and the connection succeeds. Thank you very much!
So one problem solved and one to go. The remaining problem is that DLLs are just found from the plugin directory and if located only in my application directory, the app wont work.
Bookmarks