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. -- kubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs