libqt4-sql does not include QODBC
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qt4-x11 (Ubuntu) |
Fix Released
|
Undecided
|
Terence Simpson |
Bug Description
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:
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://
http://
Is this also possible for Ubuntu? thanks.
Related branches
Changed in qt4-x11: | |
assignee: | nobody → tsimpson |
status: | New → Confirmed |
I think my question (link below) regarding support for Firebird SQL in libqt4-sql is related to your question. Maybe an alternate package could provide support for both drivers.
Regards,
https:/ /answers. launchpad. net/ubuntu/ +question/ 22305