I compiled an application in windows with Qt msvc x64 and deploy it using windeployqt.exe but when i compile code or run created exe i getting this error: Mysql Error
db = QSqlDatabase::addDatabase("QMYSQL");
db.setHostName("localhost");
db.setDatabaseName("market");
db.setUserName("root");
db.setPassword("1501");
if(!db.open())
{
QMessageBox::critical(this,"HATA","Database bağlantısı sağlanamadı!"+db.lastError().text());
}
Only getting this mysql error other things work fine.What can i do?
是dll mysql x86 x64的体系结构,我遇到了同样的问题,我的OS W7 x64,我解决了它从另一个安装中复制x86 dll的问题,我可以通过电子邮件发送给您
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.