PDA

View Full Version : Postgres



cya-st
4th October 2009, 18:10
Hello.
I'm install QT 4.5.3 on the Windows, maked statically. Then try to build driver postgri, going without errors and creates two files: libqsqlpsql.a libqsqlpsqld.a in C:\Qt\4.5.3\plugins\sqldrivers\. But for some reason, *.dll files are not created.
Help please, who encountered this error.

axeljaeger
7th October 2009, 13:27
If you compile using static, no dlls will be generated because a dll is a "dynamic link library" which is the opposite of a static library. Static libraries on windows usually have the suffix .lib. When using the mingw-compiler, they use the extension .a because this is the common extension for static libs on unix.