PostgreSQL 8.3.3 is not supported by libqt4-sql-psq 4.4.0

Asked by Auryn on 2008-07-04

- When executing a Qt application with PostgreSQL, database access doesn't work and we obtain this warning:
This version of PostgreSQL is not supported and may not work.

- We have Kubuntu 8.04 AMD64 with these repositories:
deb http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse

- Qt version:
4.4.0 (with 4.3 our application worked correctly)

- PostgreSQL module for Qt4:
libqt4-sql-psq 4.4.0-1ubuntu5

- Database version:
postgresql 8.3.3-0ubuntu0

- Code:
int main(int argc, char *argv[])
{
        QSqlDatabase base_de_datos = QSqlDatabase::addDatabase("QPSQL");

        base_de_datos.setHostName("localhost");
        base_de_datos.setDatabaseName("DatabaseName");
        base_de_datos.setUserName("UserName");
        base_de_datos.setPassword("password);

        if(base_de_datos.open())
                cout<<"ok"<<endl;
}

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu qt4-x11 Edit question
Assignee:
No assignee Edit question
Solved by:
Auryn
Solved:
2009-06-04
Last query:
2009-06-04
Last reply:
2008-08-03
Diego Schulz (dschulzg) said : #1

I'm using the same version of Qt, but on i386, and I see the same warning, but my application works flawlessly (apparently).

Using version

libqt4-* 4.4.0-1ubuntu5~hardy1

postgresql 8.3.3-0ubuntu0.8.04

Diego Schulz (dschulzg) said : #2

"but my application works flawlessly (apparently)"

This means at least I can connect and interact with postgresql without problems, exactly as I did with previous versions.
But I must say .. the warning is very annoying!

Diego Schulz (dschulzg) said : #3

Anyone got news? I'm waiting for 4.4.1 packages for Hardy!

Diego Schulz (dschulzg) said : #4

Anyone got news? I'm waiting for 4.4.1 packages for Hardy!

postgresql 8.3.7-1 and Qt 4.5 works today.