[Interest] Qt4 QODBCDriver class and header file no longer in Qt5?

Niels Dekker mymailfromqt at xs4all.nl
Wed Jul 31 15:24:42 CEST 2013


Using Qt 4.8.4, we do:

   #include <QtSql/QODBCDriver>
   #include <QtSql/QSqlDatabase>
   ....
   QSqlDatabase db = QSqlDatabase::addDatabase(new QODBCDriver);

This code no longer compiled when we tried to upgrade from Qt 4.8.4 to 
Qt 5.1 (using qt-windows-opensource-5.1.0-msvc2010-x86-offline.exe), 
because the <QtSql/QODBCDriver> header wasn't there anymore.

Has the QODBCDriver class intentionally been removed from Qt 5, or did 
we possibly install Qt 5 incorrectly?


Kind regards,

   Niels
-- 
Niels Dekker
http://www.xs4all.nl/~nd/dekkerware
Scientific programmer at LKEB, Leiden University Medical Center






More information about the Interest mailing list