[Qt-interest] PostgreSQL plugin

Robert Hairgrove evorgriahr at hispeed.ch
Fri Aug 14 16:09:34 CEST 2009


I downloaded and installed the Qt SDK 4.5.2 on Linux and installed it 
today (Ubuntu Hardy 8.04). Apparently, it comes with pre-built two SQL 
drivers: SQLite and PostgreSQL (why not MySQL, if I may ask? I think it 
is probably more widely used on most Linux systems than PostgreSQL, but 
I may be mistaken...).

Anyway, I needed the MySQL plugin, so I compiled and built it OK myself. 
  Just for curiosity's sake, since I have PostgreSQL 8.3 already in my 
system, I built the plugin for that.  I was susprised to find that the 
file size of the pre-built libqsqlpsql.so file is about 500kB, whereas 
the plugin I built myself is only about 90kB!

Did I skip some important step here?  What could be responsible for the 
difference in file size?



More information about the Qt-interest-old mailing list