Hello.
Me help please, I am trying connect to the database access (.mdb), more giving this error.
QSqlDatabase: QODBC driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QODBC3
I am a newcomer.
Thanks.
Cleber Ramos
Hello.
Me help please, I am trying connect to the database access (.mdb), more giving this error.
QSqlDatabase: QODBC driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QODBC3
I am a newcomer.
Thanks.
Cleber Ramos
include your code please.. maybe their a problem in your QODBC plugins or your code it self..
QSqlDatabase *conexaoBD = QSqlDatabase::addDatabase( "QODBC" );
if (conexaoBD!=0)
qWarning( "QODBC ---> OK!" );
conexaoBD->setDatabaseName( "DRIVER={Microsoft Access Driver (*.mdb)};FIL={MS Access};DBQ=ocorr_atendidas2006_2007.mdb" );
did you try using QODBC3 instead of QODBC?
I alter for QODBC3, error:
[iODBC][Driver Manager]Data source name not found and no default driver specified. Driver could not be loaded QODBC3: Unable to connect
im using QT under windows OS. after installation i run configure, then the dll files for ODBC and sqllite will be made and this dlls are ready to use. i dunno in linux/unix.
try building a plugin for ODBC.
Hi,
How building a plugin for ODBC on LInux?
Thank,
Cleber Ramos
Bookmarks