I have successfully built the mysql plugin for QT. The build process resulted in the following 4 files:
I copied the above files to the plugins directory of QT, and the .dll's to C:\windows\system32
Then I wrote sample code to test (see snippet 1). The code compiles, links and runs fine but i get no output. According to
the following code should output (see code snippet 2).
What am I doing wrong?
int main(int argc, char *argv)
QCoreApplication a(argc, argv);
qDebug() << QSqlDatabase::drivers();
/* expected output */
("QSQLITE", "QMYSQL3", "QMYSQL", "QODBC3", "QODBC")