• 4258阅读
  • 1回复

[提问]MinGW 64 MySQL Driver问题 [复制链接]

上一主题 下一主题
离线0xffffh
 

只看楼主 倒序阅读 楼主  发表于: 2013-07-21
— 本帖被 XChinux 从 Qt 作品展 移动到本区(2013-12-05) —
没有谁遇到过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位编译出来的却可以正常运行
离线lzh1104

只看该作者 1楼 发表于: 2013-10-28
我xp也是这个错误---
快速回复
限100 字节
 
上一个 下一个