Problem with SQL Driver on MacOSX Sierra High
Hello! I have problem with run application on MacOSX Sierra High - when il run compiled binary I have error:
QSqlDatabase: BOOKS.DB driver not loaded
QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7
Il use Qt binary package from QT page (v 5.9.1).
Any1 know solution for this problem ? Thank You for help.
Hi and welcome to devnet,
Looks like you are not setting up your database connection correctly. Can you show your code ?
Hi devnet :).
OK. I found reason. Im not allocate QSqlDatabase object. Its fixed. Thank You :).
You're welcome !
Since you have it working now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)