[Interest] [SOLVED]Re: Connecting to database in Static build

Thiago Macieira thiago.macieira at intel.com
Wed Apr 17 16:39:06 CEST 2013


On quarta-feira, 17 de abril de 2013 13.50.32, Muhammad Bashir Al-Noimi wrote:
> ./configure -static  -developer-build -v -qt-sql-psql -qt-sql-sqlite
> -plugin-sql-psql -plugin-sql-sqlite -qt-zlib -qt-libpng -qt-libjpeg
> -qt-pcre -qt-xcb
> 
> 
> Then added the needed plug-ins to my .pro file:
> 
> QTPLUGIN     += qsqlpsql

If you're going to build statically, you should use -qt-sql-psql and then you 
won't need to use the QTPLUGIN line. Don't override with -plugin-sql-psql.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130417/cf9d5a11/attachment.sig>


More information about the Interest mailing list