[Qt-interest] Runtime configuration of database drivers
Robert Hairgrove
evorgriahr at hispeed.ch
Wed Dec 31 18:09:49 CET 2008
Robert Hairgrove wrote:
> (2) The QSqlDatabase::drivers() function returns some drivers twice, but
> with numbers, i.e.: QPSQL7 and QPSQL - QODBC and QODBC3 - etc. Is this
> for Qt3 support? The documentation seems a little lacking in this respect.
After looking through the source code, it appears that the numbered
names act just the same as the names without. Calling
QSqlDatabase::addDatabase() with either one as the "type" argument will
return exactly the same kind of object.
More information about the Qt-interest-old
mailing list