[Bug 197071] [NEW] qt4 can't connect to postgresql 8.2
gsauthof
g_sauthoff at web.de
Fri Feb 29 19:03:55 UTC 2008
Public bug reported:
Binary package hint: postgresql
Hi,
I upgraded to Gutsy. My Qt4 application can't connect to the local postgresql db. It works at an old Gentoo system. I get a
'connection pointer is NULL' error from postgres. This error message comes directly from postgres. If I sniff the lo-device, I see postgres related traffic. The postgres db is created from scratch. I.e. created new user, created new db. With 'psql' I can connect and do stuff just fine.
I attached a minimal C++/Qt example, which reproduces the problem for
me. You have to change the username and dbname ... to something, which
is apropriate at your system.
Compile it via:
# qmake-qt4 sqltest.pro
# make
The output at my Gutsy system is:
# ./sqltest
("QPSQL7", "QPSQL", "QMYSQL3", "QMYSQL", "QSQLITE", "QSQLITE2")
false
"connection pointer is NULL
QPSQL: Unable to connect"
Best regards
Georg Sauthoff
** Affects: postgresql (Ubuntu)
Importance: Undecided
Status: New
** Affects: qt4-x11 (Ubuntu)
Importance: Undecided
Status: New
--
qt4 can't connect to postgresql 8.2
https://bugs.launchpad.net/bugs/197071
You received this bug notification because you are a member of Kubuntu
Team, which is subscribed to qt4-x11 in ubuntu.
More information about the kubuntu-bugs
mailing list