64bit database(Postgresql) and 32 bit application
General and Desktop
3
Posts
2
Posters
3.8k
Views
1
Watching
-
wrote on 8 Dec 2011, 13:13 last edited by
Can I install a Postgresql 64bit on Windows and make connection to this db using Qt plugin which is 32 bit? If I'm using mingw(32bit) on Windows then I have to install Postgresql 32bit too?
-
wrote on 8 Dec 2011, 22:28 last edited by
You need the 32 bit libraries to link against Qt and your application. If you connect via Network (eg via IP 127.0.0.1) there shouldn't be any problems. I'm not sure for local sockets, but I would expect those to work too. Just make sure that you load the correct versions of the DLLs.
-
wrote on 13 Dec 2011, 13:17 last edited by
Yes you right. I compiled plugin to Postgres with 32 bit libraries and this works fine with Postgresql 64bit on Windows 7 64bit.
1/3