QODBC driver not loaded
I have implemented QtWidget->QtGui application using the sqlserver2008 database, and those are working fine.
But I am not able to connect to database while I am creating QtWidget->Mobile Qt Application. When I am executing the proj, It is giving an error like
@QSqlDatabase: QODBC driver not loaded
QSqlDatabase: available drivers: QSQLITE@
What might be the problem, Can anyone help in this. My Os is Windows 7 Thanks in advance.
Simply, you don't have the QODBC driver. It is a plugin. You only have QSQLITE on your "arsenal".
You have to build the QODBC driver from source.