Results 1 to 3 of 3

Thread: issue when using Postgresql driver QPSQL This version of PostgreSQL is not supported

  1. #1
    Join Date
    Jan 2011
    Posts
    9
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default issue when using Postgresql driver QPSQL This version of PostgreSQL is not supported

    Hello,

    i am using QT 4.6.2. Previously, I used post Postgresql version 8.3.12-1. I made the QPSL driver with help from http://www.qtcentre.org/wiki/index.p...ws_using_MinGW
    and http://trinity.pearsoncomputing.net/...ql-driver.html and it worked. The problem is that now i have to use Postgresql version 9.0, i used the same instructions from http://www.qtcentre.org/wiki/index.p...ws_using_MinGW
    and http://trinity.pearsoncomputing.net/...ql-driver.html and the driver was build. I tested it using the cpp code

    #include<QApplication>
    #include<QSqlDatabase>
    #include<QSqlDriver>
    #include<QSqlError>
    #include<QDebug>




    int main(int argc, char *argv[])
    {
    QApplication a(argc, argv);
    qDebug() << QSqlDatabase::drivers();
    return a.exec();
    }

    But now when i use bool QSqlDatabase:pen() to open the database. I am getting the warning "This version of PostgreSQL is not supported and may not work" and the database tables do not open. I would appreciate help in this regard.

    Regards,
    Fredy Khan

  2. #2
    Join Date
    Feb 2008
    Posts
    491
    Thanks
    12
    Thanked 142 Times in 135 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: issue when using Postgresql driver QPSQL This version of PostgreSQL is not suppor

    See this thread.

  3. #3
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: issue when using Postgresql driver QPSQL This version of PostgreSQL is not suppor

    PostgreSQL will be supported in next release of Qt (4.7.2).

Similar Threads

  1. Cannot build PostgreSQL driver
    By DanMcCoder in forum Qt Programming
    Replies: 5
    Last Post: 1st September 2010, 08:58
  2. PostgreSQL driver and Window 7
    By lasher in forum Installation and Deployment
    Replies: 0
    Last Post: 6th October 2009, 16:51
  3. PostgreSQL driver
    By clusty in forum Qt Programming
    Replies: 1
    Last Post: 21st August 2008, 00:55
  4. Qt and PostgreSQL : version not supported
    By xinevil in forum Qt Programming
    Replies: 1
    Last Post: 10th July 2008, 13:00
  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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.