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 Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to