Results 1 to 3 of 3

Thread: QT program with database support without having to fully install database app.

  1. #1
    Join Date
    Apr 2011
    Posts
    10
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default QT program with database support without having to fully install database app.

    Greetings everyone, I have been developing an aplication on QT that use a postgres database to store data, everything works fine, the only issue is that I had to install the whole postgres suite on every station, ¿is there anyway to avoid this?, I have seen other programs that only copy the data folder, ¿is this posible with QT and Posgres?,
    I'm using the psql driver.

    Thanks in advance.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QT program with database support without having to fully install database app.

    is there anyway to avoid this?
    As a developer you need much of the database software API in order to build the Qt plugin. Thereafter you should need only the client library.

    As a deployed client you typically need only the client library. Some vendors provide a convenient client-only installer but I don't think that's the case for PostgreSQL. For PostgreSQL (Windows) you should just be able to deploy libpq.dll with your application.

  3. #3
    Join Date
    Apr 2011
    Posts
    10
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QT program with database support without having to fully install database app.

    Thanks for the reply.
    I had readed on another forum that postgres could not be embebed http://wiki.postgresql.org/wiki/FAQ#...be_embedded.3F I will try your sugestion anyway and post the results.

Similar Threads

  1. Replies: 4
    Last Post: 29th March 2012, 09:23
  2. how to install DataBase Drivers
    By un9tsandeep in forum Qt Programming
    Replies: 2
    Last Post: 4th October 2011, 12:44
  3. Qt to support XML database?
    By zhongzhu in forum Qt Programming
    Replies: 2
    Last Post: 9th July 2009, 11:51
  4. problem in doing database program
    By wei243 in forum Qt Programming
    Replies: 0
    Last Post: 4th April 2007, 12:01
  5. Qt support for MS Access database
    By Gayathri in forum Qt Programming
    Replies: 1
    Last Post: 23rd November 2006, 13:14

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.