Results 1 to 20 of 29

Thread: QT to Postgresql connection

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2011
    Posts
    13
    Thanks
    9
    Thanked 13 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default QT to Postgresql connection

    I am trying to rewrite a manufacturing system I wrote years ago in WatcomSQL. I want to use QT 4.7 and Postgres 9.1. I've been trying for days to create the connection and don't want to give up but I need help. Nothing I try works. I have tried to execute the instructions on the nokia site as well as others to no avail.

    I really want this to work and am determined not to give up. Can anyone patiently take me through the steps? I am using windows xp. I have Postgres installed on my network. I can access any database in Postgres from any other machine on my network. I need help on the QT side mostly. I can get examples up and running using QSQLITE so QT is running properly.

    Thanks in advance

  2. The following user says thank you to KeithN for this useful post:


  3. #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 to Postgresql connection

    Have you built the Postgres (QPSQL) plugin for Qt? Does QPSQL appear in the output of QSqlDatabase::drivers()?

  4. The following 2 users say thank you to ChrisW67 for this useful post:

    KeithN (9th November 2011)

Similar Threads

  1. Replies: 2
    Last Post: 11th February 2011, 17:53
  2. Replies: 1
    Last Post: 2nd April 2010, 06:42
  3. requiredStatus on Qt 4.3 and PostgreSQL 8.3.3
    By Auryn in forum Qt Programming
    Replies: 9
    Last Post: 2nd September 2008, 22:06
  4. postgreSQL - Last Inserted ID
    By nnidza in forum Qt Programming
    Replies: 4
    Last Post: 2nd April 2007, 08:09
  5. QT4 and Postgresql driver
    By alphaqt in forum Installation and Deployment
    Replies: 6
    Last Post: 27th February 2006, 15:50

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
  •  
Qt is a trademark of The Qt Company.