有没有谁遇到过Win7 MinGW 64编译的MySQL Driver不能工作,相同的代码64位的调用open时出现如下错误
Error - RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly
重新编译了MySQL Driver后会出现
QObject::moveToThread: Current thread (0x256f30) is not the object's thread (0x1c2a210).
Cannot move to target thread (0x256f30)
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3
QSqlError(-1, "Driver not loaded", "Driver not loaded")
但是相同的代码用32位编译出来的却可以正常运行