Results 1 to 9 of 9

Thread: Client-application intallation without postgres intall

  1. #1
    Join Date
    Jan 2010
    Posts
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Client-application intallation without postgres intall

    Hello I am newbie and would like to know if my application was developed using a Postgres DB. After finished the development can I generate an install .exe of my application without having to install the postgres in the client computer before?

    OBS: I am developing in windows 32 bits plataform

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Client-application intallation without postgres intall

    You don't have to install PostgreSQL on the target machine but you need to deploy PostgreSQL client libraries there (on Unix this is called libpq.so, on Windows probably pq.dll).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jan 2010
    Posts
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Client-application intallation without postgres intall

    Quote Originally Posted by wysota View Post
    You don't have to install PostgreSQL on the target machine but you need to deploy PostgreSQL client libraries there (on Unix this is called libpq.so, on Windows probably pq.dll).
    but this will work only for the functions usei inside the source font won't? I mean the tables and schemes won't come only with the .dll, I think

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Client-application intallation without postgres intall

    No, the database will be accessed remotely. But functions to do it need to be available thus the library.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Jan 2010
    Posts
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Client-application intallation without postgres intall

    Quote Originally Posted by wysota View Post
    No, the database will be accessed remotely. But functions to do it need to be available thus the library.
    That is what I meant... sorry I didn't make it clear on the initial post. There is some way to do a local install of the database without installing the postgres?

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Client-application intallation without postgres intall

    But Postgres is the database... If you want to use it, you need a server running. You can use SQLite instead of PostgreSQL if you want as it doesn't require a server but it has less features.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Jan 2010
    Posts
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Client-application intallation without postgres intall

    Quote Originally Posted by wysota View Post
    But Postgres is the database... If you want to use it, you need a server running. You can use SQLite instead of PostgreSQL if you want as it doesn't require a server but it has less features.
    Oh this is what I was wondering about, I had already used SQLite with some desktop applications and Postgres only with web application, but for this project it was sugested to me use Postgres because of the features but I also need it the application running only local, so I will have to use the SQLite...

    Thanks for the help

  8. #8
    Join Date
    Jan 2010
    Posts
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Client-application intallation without postgres intall

    I was also wondering anyone knows if there is a way to do an script that is executed during the install of my application that also installs the postgres server passing the parameters of user and password on windows plataform?

  9. #9
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Client-application intallation without postgres intall

    What do you mean by:
    installs the postgres server passing the parameters of user and password on windows plataform?
    Passing it where? For install scripts you can use the nullsoft installer (NSIS).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Multi Threaded Client Server application
    By live_07 in forum Qt Programming
    Replies: 0
    Last Post: 27th August 2009, 16:32
  2. TCP Client-Server Application
    By Tavit in forum Qt Programming
    Replies: 1
    Last Post: 18th March 2008, 13:20
  3. Client-Server Application design suggestion
    By berzeck in forum Qt Programming
    Replies: 6
    Last Post: 17th December 2007, 18:13
  4. How to intall both qt open source and coin3d
    By kaydknight in forum Installation and Deployment
    Replies: 2
    Last Post: 4th February 2007, 15:28

Tags for this Thread

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.