Create PostgreSQL plugin using MinGW
Hi folks, I really tried so many time to create PostgreSQL plugin using MinGW with success.
I got to create the libpq.def and libpq.a files using reimp.exe and dlltool.exe utilities from MinGW utilities, but after this I didn’t get to generate the .dll using MinGW.
Someone got this task?
I am using Qt 4.8 and PostgreSQL 9.1
Thanks,
Leo Nunes
2 replies
1. Build postgresql libraries as described in http://pgolub.wordpress.com/2008/12/15/building-postgresql-client-library-using-mingw-under-winxp-sp3/.
2. After that you will have libpq.a and libpq.dll files.
3. Then build postgresql plugin for Qt.
You must log in to post a reply. Not a member yet? Register here!

