[Bug 179261] libqt4-sql does not include QODBC

peter V peter_velthuis at hotmail.com
Sat Dec 29 18:46:43 UTC 2007


Public bug reported:

Binary package hint: libqt4-sql

Hello,

The libqt4-sql package does not include the QODBC driver, and it s also not available as a separate package.
Meaning that this program will compile but not run:

#include <QSqlDatabase>

int main()
{
 QSqlDatabase db = QSqlDatabase::addDatabase( "QODBC" );
 return 0;
}

Giving the error:

QSqlDatabase: QODBC driver not loaded
QSqlDatabase: available drivers: QPSQL7 QPSQL QMYSQL3 QMYSQL QSQLITE QSQLITE2

Qt4 builds on windows defeault with ODBC support, in at least Fedora and
FreeBSD odbc support is made available in a seperate package:

http://download.fedora.redhat.com/pub/fedora/linux/extras/6/i386/repoview/qt4-odbc.html
http://www.freshports.org/databases/qt4-odbc-plugin

Is this also possible for Ubuntu? thanks.

** Affects: qt4-x11 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
libqt4-sql does not include QODBC
https://bugs.launchpad.net/bugs/179261
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for qt4-x11 in ubuntu.




More information about the kubuntu-bugs mailing list