Hi,
Ive downloaded and installed Qt 5.2 32 bit for Android, my machine is Windows 8 64bit, I also have Visual Studio 2012 installed, MySQL 5.6.16 32bit is installed.
I try to connect to MySQL database but always get this error
QSqlDatabse: QMYSQL driver not loaded QSqlDatabse: Available drivers: QSQLIT QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7
Here is my code
#include <QCoreApplication>
#include <QtSql>
#include <QtDebug>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL");
return a.exec();
}
C:\Program Files\MySQL\MySQL Server 5.6\lib PATH Qt Creator.
, Qt 5.2 , Iv , , , .
, , .
.