[Qt-interest] Building PostgreSQL in Qt static build

Mark Brand mabrand at mabrand.nl
Fri Jan 15 10:05:31 CET 2010


>> Hi,
>>
>> At risk of repeating myself, the Qt 4.6 build that comes with
>> mingw-cross-env has a working static PSQL driver plugin, among others.
>>
>> http://www.nongnu.org/mingw-cross-env/
>>
>>
>> Even if you this project is not what you are looking for, you'll probably find some good info in the discussions.
>>     
> Hi,
>
> Thanks for that but I don't think this is what I'm looking for as I am 
> using the Intel Compiler. Also, I though the use of plugins wasn't 
> supported when building Qt statically.
>   

Have you looked at this?

http://qt.nokia.com/doc/4.6/plugins-howto.html#static-plugins

There is also the issue of building a static version of libpq itself. If
you have trouble with that, it might help to look at how mingw-cross-env
does it.

-Mark



More information about the Qt-interest-old mailing list